Geographic Information Systems Asked by Payal Pandey on July 24, 2021
I have a base layer upon which i wish to import a kml with certain lat lons and create a buffer region of 20mtrs around any point upon click event.
i got google api for the same but want openlayers api to execute this on my base layer.
I could resolve one problem of displaying the kml using openlayers API. We can use Openlayers.Layer.GML
//Adding KML file to map
map.addLayer(new OpenLayers.Layer.GML("KML", "college.kml",
{
format: OpenLayers.Format.KML,
formatOptions: {
extractStyles: true,
extractAttributes: true,
maxDepth: 2
}
}));
Answered by Payal Pandey on July 24, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP