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

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

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -