On Sep 9, 5:29 am, indefatigable <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm pretty new at google maps, so plz bear with me :)
>
> I have a program access (.mdb) backend, html/vbscript frontend
>
> The mdb contains names/adressess/longtitude/altitude/ ....
>
> When I access a certain record through the frontend, I would like it
> to show a google map with a mark at that particular adress.
>
> I've figured out how to get the map and mark displayed but i'm stuck
> cause i would like to replace
>
> function load() {
>   if (GBrowserIsCompatible()) {
>     var map = new GMap2(document.getElementById("map"));
>      map.setCenter(new GLatLng(41.078034, 4.772752), 13);
>    map.addControl(new GSmallMapControl());
>
>     var point = new GLatLng(41.078034, 4.772752);
>
> with:
>
> function load() {
>   if (GBrowserIsCompatible()) {
>     var map = new GMap2(document.getElementById("map"));
>      map.setCenter(new GLatLng("Adresses.Lat", "Adresses.Long"), 13);

for a one time, one location map, I would do something like this in
ASP with Access:
map.setCenter(new GLatLng(<%=Adresses.Lat%>, <%=Adresses.Long%>),13);

But AJAX would be more efficient if you are using multiple points.

My "volcano browser" is driven with ASP/Access:
http://www.geocodezip.com/v2_volcanoBrowser.asp

  -- Larry

>    map.addControl(new GSmallMapControl());
>
>     var point = new GLatLng(Adresses.Lat, Adresses.Long);
>
> where Adresses.Alt is the table with the Latitude and Adresses.Long
> the table with the Longtitude.  (the coordinates above are just
> random ;-)
>
> Can someone plz point me to a solution?
>
> Thx!
--~--~---------~--~----~------------~-------~--~----~
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