Integrating Google Maps

Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!

Integrating Google Maps

Postby hareendra » Tue Jun 12, 2012 6:14 am


I have integrated google maps into my web client solution using an html area to display.
I have initiated the map using a global variable and adding the html to it.
Code: Select all
var googleMap = stripCDataTags(<html>
<script type="text/javascript" src=";key=ABQIAAAA4TuaLaQ0i4C0jTuxik06JRTwM0brOpm-All5BF6PoaKBxRWWERTS7rdU_iyzRYwgTT4TCvZimA8XRw"></script>
<script type="text/javascript">
    var map;.. etc

Then there is a function to initialize the map.
Code: Select all
function initialize() {                
            map = new GMap2(document.getElementById("map_canvas"));

All of this works perfectly without any issue. However, when we integrate one of our own navigation modules with the solution, the program does not execute beyond the line
Code: Select all
map = new GMap2(document.getElementById("map_canvas"))

The navigation module uses a set of forms a separate form for header, navigation, etc.

I am using servoy developer 6.0.3

Thanks in advance.

Posts: 98
Joined: Wed Sep 17, 2008 11:41 am

Return to Web Development

Who is online

Users browsing this forum: No registered users and 1 guest