activation page carte for procedure with db attribut use_api_carto is true

This commit is contained in:
Xavier J 2015-09-28 18:55:16 +02:00
parent 97cf5fc605
commit 91e937c247
16 changed files with 232 additions and 208 deletions

View file

@ -155,13 +155,13 @@ function onDocumentReady() { if (typeof L != 'undefined' && typeof L.drawLocal !
}
});**/
});
map.spin(true);
$.ajax({
url: 'http://apicarto.coremaps.com/zoneville/api/beta/qp/mapservice',
datatype: 'json',
jsonCallback: 'getJson',
success: loadGeoJson
});
//map.spin(true);
//$.ajax({
// url: 'http://apicarto.coremaps.com/zoneville/api/beta/qp/mapservice',
// datatype: 'json',
// jsonCallback: 'getJson',
// success: loadGeoJson
//});
window.geom_inter = {index: []};
function style(feature) {

View file

@ -4,7 +4,7 @@ function get_position(){
var position;
$.ajax({
url: '/dossiers/'+dossier_id+'/carte/position',
url: '/users/dossiers/'+dossier_id+'/carte/position',
dataType: 'json',
async: false
}).done(function (data) {