Hello together
On my mapping application I'd like to add new field to the
KML code. Let's say it's type for what type of POI I'd like to show.
Through the PHP output it was very easy to add the type tags to
the kml data. In the JS File that I use the Data Points to display
the placemark are called on over thhe following js function
function addDataPoint(coordinates, name, description, type)
{
// addDataPoint: save the data for a placemark found by the KML
processor
var d = data.length;
data[d] = {coords: coordinates, title: name, details: description,
typus: type};
};
You can see I added the "type"-tag to the data array.
The problem is now that "type" is not set and cant be used.
Does someone have an idea?
Sincerely Simon
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---