demarches-normaliennes/app/views/shared/champs/carto/_init.html.haml

10 lines
297 B
Text
Raw Normal View History

2018-10-10 19:58:51 +02:00
:javascript
DATA.push({
carto: {
position: #{raw(dossier.geo_position.to_json)},
selection: #{raw(ensure_safe_json(dossier.json_latlngs))},
cadastres: #{raw(dossier.cadastres.to_json)},
quartiersPrioritaires: #{raw(dossier.quartier_prioritaires.to_json)}
}
});