Commit a878b727c28e514fbd9deb50ace818b4ba2412d5

Authored by José Maria Villac Pinheiro
1 parent 3ae44c58

V. 0.1 - Mapeamento com links universais na web

.config/heroku/config.json 0 → 100644
@@ -0,0 +1,6 @@ @@ -0,0 +1,6 @@
  1 +{
  2 + "skip_analytics": false,
  3 + "color": true,
  4 + "lock_version": "",
  5 + "lock_channel": ""
  6 +}
0 \ No newline at end of file 7 \ No newline at end of file
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 "private": true, 4 "private": true,
5 "engines": { 5 "engines": {
6 "node": "8.10.0", 6 "node": "8.10.0",
7 - "npm": "6.0.0" 7 + "npm": "5.6.0"
8 } 8 }
9 "scripts": { 9 "scripts": {
10 "start": "node ./bin/www" 10 "start": "node ./bin/www"
views/map.jade
@@ -14,7 +14,7 @@ block content @@ -14,7 +14,7 @@ block content
14 script. 14 script.
15 function relocate_home() 15 function relocate_home()
16 { 16 {
17 - location.href = "http://127.0.0.1:3000/map/" + nome.value ; 17 + location.href = "http://nexusbr.dyndns-ip.com:3000/map/" + nome.value ;
18 } 18 }
19 br 19 br
20 #map 20 #map
@@ -25,7 +25,7 @@ block content @@ -25,7 +25,7 @@ block content
25 osm = L.tileLayer(osmUrl, 25 osm = L.tileLayer(osmUrl,
26 {attribution: osmAttrib}), 26 {attribution: osmAttrib}),
27 map = L.map('map', {center: new L.LatLng(#{lat},#{lng}), zoom: #{fator_zoom}}), 27 map = L.map('map', {center: new L.LatLng(#{lat},#{lng}), zoom: #{fator_zoom}}),
28 - wmsLayer= L.tileLayer.wms("http://localhost:8080/geoserver/saocaetano/wms", { 28 + wmsLayer= L.tileLayer.wms("http://nexusbr.dyndns-ip.com:9080/geoserver/saocaetano/wms", {
29 layers: 'saocaetano:quadras, saocaetano:redesAgua, saocaetano:noAgua, saocaetano:ramalAgua, saocaetano:ligacaoAgua', 29 layers: 'saocaetano:quadras, saocaetano:redesAgua, saocaetano:noAgua, saocaetano:ramalAgua, saocaetano:ligacaoAgua',
30 format: 'image/png', 30 format: 'image/png',
31 transparent: true, 31 transparent: true,