hi
i have generated the key for my website in CakePHP which is [http://
192.168.1.144:8088/mysite] and i have used this code snippet
separately in a html file. it works perfectly fine.

<script src="http://maps.google.com/maps?
file=api&amp;v=2&amp;key=ABQIAAAAjVukB827BEZJzdNTga-3QBSeZ4wVPXgzrhFTCGYdB5wsRr3HqRQkmXYtBzHHD706AF9614y4LlXGgg&sensor=false"
            type="text/javascript"></script>
                <script type="text/javascript">
                        function initialize() {
                          if (GBrowserIsCompatible()) {
                            var map = new 
GMap2(document.getElementById("map_canvas"));
                            map.setCenter(new GLatLng(13.083300, 80.283302), 
13);
                            map.setUIToDefault();
                          }
                        }
                        initialize();
                </script>
but when i put the same code in my application on a popup div of an
ajax call, it shows script error in "GBrowserIsCompatible() not
defined"

how should i make sure that this code works. and i want to make sure
the map api is included in the script call.

Regards
PraDz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to