You need to sign in to do that
Don't have an account?
Baktash H.
Does VF support Google Maps API V3?
Hello, i tried to implement simple map into a visual force page from this tutorial: http://code.google.com/intl/en/apis/maps/documentation/javascript/tutorial.html It simply doesn't work. Maybe because it is V3? Because this example with the old version works: http://wiki.developerforce.com/page/Code_Samples#Google_Maps_API_mashup_for_Leads.2C_Contacts_and_Accounts But google say they no longer support V2 and developers should use V3. Maybe you can help me. Thanks in advance.
it does...
Here is my JS to initialize the map in a div on the page...
the call in my VF page JS to the map, after I create the element on the page to display it
** I use the i variable to identify which element I am talking about as I can have many maps on the same page and dynamically create the elements and I use i to add a unique row identifier to the element..**
And the include for the VF page
and an Apex class (NOT USED TO GENERATE THE MAP) it is used to calculate the distance between two addresses
There may be better ways to do it (probably is) but this is working for me