The leader in ASP .NET Web Hosting, Windows Dedicated Servers,  Linux Web Hosting and Linux Dedicated Servers.  
Search our Knowledge Base:
XIIO Object Library: Google Maps

XIIO Networks Object Library
The XIIO GoogleMaps Object allows you to input a start address and destination address to access driving directions, maps, positioning (latitude and longitude), distance and more.

A few uses for this include driving directions and maps for web site location finders, distance calculation between two addresses, conversion from address to latitude and longitude, and much more. If you can think it, chances are the GoogleMaps object will help you do it.


This component returns data as separate items allowing you to fully integrate your applications with it and display as little or as much information as you need.

Try the Online Demo

Object Name: XIIO.GoogleMaps

Functions:

  • GetDirections("StartAddress", "DestinationAddress")
    • Data returned as Read-Only Properties:
    • TripDistance
      Returns trip distance.
    • TripDuration
      Returns estimated time for travel.
    • StartAddress
      The full starting address of the query as returned by Google.
    • EndAddress
      The full destination address of the query as returned by Google.
    • StartLatitude
      Position of start address in Latitude.
    • StartLongitude
      Position of start address in Longitude.
    • EndLatitude
      Position of destination address in Latitude.
    • EndLongitude
      Position of destination address in Longitude.
    • HTMLDirections
      Returns turn-by-turn directions and distance of each step in the route. The directions are pre-formatted with HTML.
    • MapWidth (only used with DisplayMap)
      Sets the width of the map. Optional, default is 450.
    • MapHeight (only used with DisplayMap)
      Sets the height of the map. Optional, default is 325.
    • DisplayMap
      Returns Interactive Google Map that can be embedded in web page. The map is fully coded and just needs to be outputted directly to the web page.

[Online Demo of Sample GoogleMaps Object Script]

[View Sample ASP (Vbscript) Code]

[Download Sample ASP Code as TXT File]


 
We're here to help

XIIO Networks 24/7 Technical SupportNo matter what you need help with, we're here to answer your questions!

E-mail us or Call us at
1-(845) 467-6780.


RefreshLive Network Health: 6:55:47 PM EST
.NET Web HostingLive StatusConnected to Data Center...
Overall Network Health: 100%



WAN Connections: 4/4 Online
Latency Level: 9.173 ms
Routing/Critical Equip: OK
Switching/Aux. Equip: OK
Windows Server Pools: OK
Linux/BSD Server Pools: OK
Voice Switching Systems: OK
Data Center Temp: 68F
Current Power Supply: Normal on Mains
UPS/Battery Backup Systems: OK/READY
Diesel Generator Systems: OK/READY
[View all information using NetOps Live]