OpenLayers 3 textfile layer? -


i want migrate openlayers 2 openlayers 3. in openlayers 2 there text layer:

var pois = new openlayers.layer.text( "points of interest",                 { location:"./textfile.txt",                   projection: map.displayprojection                 }); 

how make layer in openlayers 3? possible use textfile.txt without changes?

no, there no equivalent openlayers.layer.text in openlayers 3. example use geojson instead, see example.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -