Rapide correction pour que la cartographie ne soit pas toujours générée

This commit is contained in:
echarp 2014-06-25 13:47:56 +02:00
parent 11223fbfa3
commit f6d3a9fbba

View File

@ -5,6 +5,7 @@
#= require openlayers-rails
$(document).ready ->
if $('#map').size() > 0
map = new OpenLayers.Map 'map'
layer = new OpenLayers.Layer.WMS 'OpenLayers WMS',
'http://vmap0.tiles.osgeo.org/wms/vmap0', {