Click here to Skip to main content
15,881,559 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I have 2 problems,
1. usual problem, marker is not in center of the view panel.
2. how can I set latitude and longitude instead of address?

I use this code to show the map:

JavaScript
 try {
    $('#map').gmap3({
            action: 'addMarker',
        address: "No 8, N Khayyam, Urmia, Iran",
            map:{
                center: true,
                zoom: 14
                },
            },
        {action: 'setOptions', args:[{scrollwheel:true}]}
    );
} catch(err) {

}


and the website address is: Proma9 the latest tab menu.
also the latitude and longitude is: 37.546245,45.066581

Thanks for your help
Posted
Comments
vbmike 29-Dec-13 11:54am    
Did you try the documentation page? http://jquery-ui-map.googlecode.com/svn/trunk/demos/jquery-google-maps-basic-example.html

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