Package DE_EPAGES::ExternalContent::API::KlicktelMap
Utility functions for Telegate Klicktel Map.
@EXPORT_OK |
Functions
GetAddressCoordinates
Calls XmlGetAddress and returns the longitude and latitude values.
Syntax |
my ($longitude, $latitude) = GetAddressCoordinates($AddressString); |
Input |
|
Return |
|
XmlGetAddress
Calls XmlGetAddress and returns the hash parsed from the returned xml. This hash contains the longitude and latitude values needed for showing the map.
Syntax |
my $hResult = XmlGetAddress($AddressString); |
Example |
my $hResult = XmlGetAddress('Jena, Leutragraben 1'); |
Input |
|
Return |
|
XmlGetRoute
Calls XmlGetRoute and returns the hash parsed from the returned xml. This hash contains only the data we need.
Syntax |
my $hResult = XmlGetRoute($LongitudeFrom, $LatitudeFrom, $LongitudeTo, $LatitudeTo); |
Input |
|
Return |
|