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

Hi,

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.
e.g.
Code: Select all
var googleMap = stripCDataTags(<html>
<head>
<script type="text/javascript" src="http://maps.google.com/maps?file=api&amp;key=ABQIAAAA4TuaLaQ0i4C0jTuxik06JRTwM0brOpm-All5BF6PoaKBxRWWERTS7rdU_iyzRYwgTT4TCvZimA8XRw"></script>
<script type="text/javascript">
    <![CDATA[ 
    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.

Regards,
Hareendra
hareendra
 
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 2 guests

cron