Performance wise i'd say, move the marker and reset the center

2009/1/17 MarviN <[email protected]>

>
> Hi! i'm developing a web application to be used by smartphone. I have
> to periodically change the position of a marker getting the value of
> position from a javabean. I would know the best method in terms of
> performance:
>
> 1) change the position of marker and centre page (marker.setLatLng &
> map.setCenter)
>
> 2) create a new marker and then clear old and print the new
>
> 3) pan the map instead of setting the center by map.setCenter
>
> 4) other solutions..
>
> any advise?
> >
>


-- 
Bjorn Brala
----------------
GeoStart.nl- Google maps - Swis Webdesign

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to