Tag Info

New answers tagged

1

After declare your map var pos = new OpenLayers.Control.MousePosition({ prefix: '<b>Coordinates: </b>', numDigits: 7, emptyString: "<b>No Coordinates - Beyong Map Extent", separator: " <b><Font Color = 'white'>|</Font></b> " }); then add that control to your map ...


0

You will need to add your new tool to the viewerTools array as well, did you do this? https://github.com/boundlessgeo/suite/blob/master/geoexplorer/app/static/script/app/GeoExplorer.js#L125


0

I managed to show coordinates in geo-explorer within opengeosuite: open the composer.html in the template folder at the end of the code add the following code: app.mapPanel.map.addControl( new OpenLayers.Control.MousePosition( { prefix: ' Lon ', separator: ' , Lat ', numDigits: 2, displayProjection: new OpenLayers.Projection("EPSG:4326")}) ...


0

The problem was all about the unneeded symbolic link. sudo ln -sf /usr/share/postgresql-common/pg_wrapper /usr/local/bin/pgsql2shp I fixed the issue finally by just removing the symbolic links. sudo rm /usr/local/bin/shp2pgsql sudo rm /usr/local/bin/pgsql2shp sudo rm /usr/local/bin/raster2pgsql Then removed postgis 2.1 with sudo apt-get remove ...


0

Ok, so I hope this helps anyone else that has had the same problems as I did for whom the mentioned answers did not work... The solution was to manually stretch the bounding box max and min X/Y coordinates. The ones computed from the data put some of the points right on the edge, stretching the bbox ensured that the features with their icons were rendered ...


1

There must be a trailing comma in your code somewhere. Use a linter to find it.



Top 50 recent answers are included