Monday, January 13, 2014

Re: [Google Maps API v2] migrating from v2 to v3




On 13 January 2014 18:16, melanie bund <bund.melanie@gmail.com> wrote:
Hi i have 1 question and a problem - PLEASE HELP

the load code below - should the 2 not be a 3?

Yes, will need to change to 3. 



my big problem - unable to add  and delete markers on map with the old code though i have replaced the G with google.maps.

That is a start but not enough. 

Many other things are different. In fact the use of centerAndZoom() suggests you actully using syntax from v1. 

The method names, and the exact methodolgy is very different in v3, compared to v1. 


v2 was able to run some v1 syntax. Just as v3 can run some v2 stuff. But there is no nope now for being able to run v1 code, so need to upgrade to v3 code. 


You might even find it easier to forget about your current code, and start again with v3 code. A clean slate, will make it easier to not get confused over all the different syntaxes 

Implement what ever you doing fresh with v3. Approach it like the first time you've ever used Google Maps API. 






--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate