mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
removing console logs
This commit is contained in:
parent
cdff923aab
commit
46d85a3833
@ -75,7 +75,7 @@ function getTileServers() {
|
|||||||
|
|
||||||
});*/
|
});*/
|
||||||
$.getJSON("/api/controllers/tile_servers?serverId=all", function (data) {
|
$.getJSON("/api/controllers/tile_servers?serverId=all", function (data) {
|
||||||
console.log(JSON.stringify(data));
|
|
||||||
$.each(data, function (key, val) {
|
$.each(data, function (key, val) {
|
||||||
noty({
|
noty({
|
||||||
text: 'Loading... <span style="color: #ccfcff">' + val.NAME + '</span>',
|
text: 'Loading... <span style="color: #ccfcff">' + val.NAME + '</span>',
|
||||||
@ -155,7 +155,6 @@ function addWmsEndPoint() {
|
|||||||
var serverUrl = "/api/controllers/wms_endpoints";
|
var serverUrl = "/api/controllers/wms_endpoints";
|
||||||
// TODO: If failure happens notify user about the error message
|
// TODO: If failure happens notify user about the error message
|
||||||
$.post(serverUrl, data, function (response) {
|
$.post(serverUrl, data, function (response) {
|
||||||
console.log("------->><wms_endpoints>" + response);
|
|
||||||
noty({
|
noty({
|
||||||
text: '<span style="color: dodgerblue">' + response + '</span>',
|
text: '<span style="color: dodgerblue">' + response + '</span>',
|
||||||
type: 'success'
|
type: 'success'
|
||||||
@ -467,7 +466,6 @@ function setTrafficAlert(leafletId) {
|
|||||||
* this is against JSON standards so has been re-replaced when getting the data from governance registry
|
* this is against JSON standards so has been re-replaced when getting the data from governance registry
|
||||||
* (look in get_alerts for .replace() method)
|
* (look in get_alerts for .replace() method)
|
||||||
* */
|
* */
|
||||||
console.log("leafletId: " + leafletId);
|
|
||||||
var selectedAreaGeoJson = map._layers[leafletId].toGeoJSON().geometry;
|
var selectedAreaGeoJson = map._layers[leafletId].toGeoJSON().geometry;
|
||||||
|
|
||||||
//if a circle is drawn adding radius for the object
|
//if a circle is drawn adding radius for the object
|
||||||
@ -503,7 +501,7 @@ function setTrafficAlert(leafletId) {
|
|||||||
'cepAction': 'deploy',
|
'cepAction': 'deploy',
|
||||||
'deviceId': deviceId
|
'deviceId': deviceId
|
||||||
};
|
};
|
||||||
console.log(JSON.stringify(data));
|
|
||||||
var serviceUrl = '/api/device-mgt/v1.0/geo-services/alerts/Traffic/' + deviceType + '/' + deviceId;
|
var serviceUrl = '/api/device-mgt/v1.0/geo-services/alerts/Traffic/' + deviceType + '/' + deviceId;
|
||||||
var responseHandler = function (data, textStatus, xhr) {
|
var responseHandler = function (data, textStatus, xhr) {
|
||||||
closeTools(leafletId);
|
closeTools(leafletId);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user