Click here to Skip to main content
15,896,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I write a javascript which show marker at given location.code is as follow
XML
<script type='text/javascript'>
                            function initialize() {
                            if (GBrowserIsCompatible()) {
                                var map = new GMap2(document.getElementById('map_canvas'));
                                map.setCenter(new GLatLng(18.536644,73.851149), 2);
                                " + strLocations + @"
                                map.setUIToDefault();
                                }
                            }
                            </script>

This javascript take locations from database & show marker on map but I want to show address of that location on map from database.for this what do i am?please help me,it's argent.Thanks.
Posted

Marker is now at the center of the map - an element identified by 'map_canvas'. Create a div and place it above the 'map_canvas' in the zorder at the required position.

Regards
Espen Harlinn
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900