Skip to content

Commit

Permalink
Disable "polyline" editing
Browse files Browse the repository at this point in the history
  • Loading branch information
yohanboniface committed Aug 7, 2012
1 parent 7330ff0 commit b5b714c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions carte_fluviale/templates/chickpea/map_init.html
Expand Up @@ -15,6 +15,9 @@
{% endif %}
{% if request.user.is_authenticated %}
map_settings.allowEdit = true;
map_settings.editOptions = {
"polyline": null
}
{% endif %}
var MAP = new L.ChickpeaMap("map", map_settings);
</script>

0 comments on commit b5b714c

Please sign in to comment.