[OpenLayers-Dev] Map with one SVG layer

warlock24 warlock24 at gmail.com
Mon Jun 15 04:54:15 EDT 2009


Hello,

im making a map of non existing world (exact coordinates of point doesnt
matter), i drew this map in Inkscape (editor for svg). How can i display my
svg file with OpenLayers? Its amateur project, it must be simple - just
files, i can not afford to buy account on map servers.

this is not working, and i don't know why :(

**************************
var map = new OpenLayers.Map('map');
var svg = new OpenLayers.Layer.GML("SVG",
"http://sites.google.com/site/warlock24/storage/WorldMap.svg", {
format: OpenLayers.Format.SVG
});
map.addLayer(svg);
map.zoomToMaxExtent();
***************************

help :'(


-- 
View this message in context: http://n2.nabble.com/Map-with-one-SVG-layer-tp3079214p3079214.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.




More information about the Dev mailing list