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 @@
  1 +{
  2 + "skip_analytics": false,
  3 + "color": true,
  4 + "lock_version": "",
  5 + "lock_channel": ""
  6 +}
0 7 \ No newline at end of file
... ...
package.json
... ... @@ -4,7 +4,7 @@
4 4 "private": true,
5 5 "engines": {
6 6 "node": "8.10.0",
7   - "npm": "6.0.0"
  7 + "npm": "5.6.0"
8 8 }
9 9 "scripts": {
10 10 "start": "node ./bin/www"
... ...
views/map.jade
... ... @@ -14,7 +14,7 @@ block content
14 14 script.
15 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 19 br
20 20 #map
... ... @@ -25,7 +25,7 @@ block content
25 25 osm = L.tileLayer(osmUrl,
26 26 {attribution: osmAttrib}),
27 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 29 layers: 'saocaetano:quadras, saocaetano:redesAgua, saocaetano:noAgua, saocaetano:ramalAgua, saocaetano:ligacaoAgua',
30 30 format: 'image/png',
31 31 transparent: true,
... ...