LatLngBounds getCenter()

UI Components for JSF
Post Reply
User avatar
bardu
Posts: 293
Joined: 30 Dec 2009, 08:27
Location: Canada

15 Nov 2011, 20:12

Why is the center property and the getter/setter in PF 3.0M4 from org.primefaces.model.map.LatLngBounds gone. What to use instead to center the map?
JSF-2.0, mojarra-2.1 | PrimeFaces-3.0-M1 | GFv3.1 | NetBeans 7 | Ubuntu 11.04
www.yukonlive.ca
www.yukonlive.de

User avatar
leventgny
Posts: 238
Joined: 24 May 2011, 16:49
Contact:

16 Nov 2011, 09:36

In general purpose, it can be calculated by northEast and southWest fields.
Then, google maps provides fitBoudns(LatLngBounds bounds) API as built-in.
PrimeFaces Team Member

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 60 guests