Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new OpenLayers.Layer.Vector("Vetor", {
- //projection: new OpenLayers.Projection("EPSG:32722"),
- strategies: [new OpenLayers.Strategy.Fixed()],
- protocol: new OpenLayers.Protocol.HTTP({
- url: "sua-url",
- format: new OpenLayers.Format.KML({
- parseAttributes: function (node) {
- node.title = 'titulo';
- node.description = 'descricao';
- return node;
- }
- })
- }),
- layers: 'arquivo_seu_id'
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement