You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2015-05-16 21:23:02

Bany47
Member
Registered: 2014-11-04
Posts: 28

openlayers map.setCenter animated

Hallo Leute!!

Hat einer Ahnung wie ich die FKT. map.setCenter animieren kann zum Ziel zu gleiten und nicht zu springen?

Hab die Durations schon hoch gesetzt. Es hat aber nicht die erhoffte Auswirkung auf die FKT..


Gruss Stefan

Offline

#2 2015-05-16 22:53:22

maxbe
Member
Registered: 2010-01-19
Posts: 3,255
Website

Re: openlayers map.setCenter animated

OpenLayers.Map.panTo(lonlat) "Allows user to pan to a new lonlat.  If the new lonlat is in the current extent the map will slide smoothly"

Offline

Board footer

Powered by FluxBB