_1_(main problem)
I have a map division where google map is displayed with its toolbars
[maptype and zoom]
and I have an extra division including buttons doing same with gmap-
toolbars.
I get after clicks on the map the coordinates and zoom level below :
document.getElementById('lbl_coordinate').innerHTML
= point; -> it's ok !
document.getElementById('lbl_zoom').innerHTML =
map.getZoom(); -> it's ok !
This is ok, but I want to put coordinates to a textbox as an input and
want to show it in googlemap:
map.setCenter(new GLatLng(A, B), C); -> error !!!!
where:
A =document.getElementById('lbl_coordinate').innerHTML; -> gives
error
B= document.getElementById('lbl_zoom').innerHTML; -> gives error
C= ... -> gives error
I want to manage google map, with my own buttons from the jscript
code.
I'm working on .net platform and using google maps api over an
jscript. All are
working except to access in google maps from outside.
_2_(an easy problem, I do not want to open a new ticket for)
I have a zoomControl at my map. After I click zoom in or zoom out, I
should take
the zoomlevel and put it to a label. How can I add Event Listener
mapTypecontrol or zoomControl is clicked by user?
Kind Regards to all
Sorry for stupid subject, I can not find any suitable explanation.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---