python - Draw a map of a specific country with leaflet in django -
i new concept of maps , create leaflet map displays 1 country , possibility add polylines or waypoints on top of that. has been done in r, can't quite grasp on how in python yet. draw map of specific country leaflet
i have geojson file of contry border.
anyone facing fixed using plugin snogylop
and initialized map style:
$.getjson(dataurl, function (data) { // add geojson layer var style = { "color": "#red", "fillcolor": 'white', "weight": 5, "fillopacity": 1 }; l.geojson(data, {invert: true, style: style}).addto(map); });
this plugin inverts mask, , put mask color white
Comments
Post a Comment