Tag Archives: setCenter()

Converting an address to a latitude/longitude using JavaScript the CFMAP tag in ColdFusion

In a previous example, “Changing the center point at runtime on a Google Map using the CFMAP tag and ColdFusion”, we saw how you could change the center address on a <CFMAP> tag at runtime using JavaScript and ColdFusion by calling the ColdFusion.Map.setCenter() function.

The following example shows how you can convert an address to a latitude and longitude using JavaScript and the <CFMAP> tag in ColdFusion by calling the ColdFusion.Map.getLatitudeLongitude() function.

Continue reading