Tag Info

New answers tagged

1

Most web mapping programs make this pretty easy to achieve. In MangoMap for example you can just set the minimum and maximum scale for each layer: To take this one further you can even stack the same layer on top of itself and change the symbology based on the scale, this is useful if you want to add more detail as the map is zoomed in.


1

MapSurfer.NET || Closed || Freeware


0

first, disable the spiderfy and zoom effects: markers = new L.MarkerClusterGroup({ spiderfyOnMaxZoom: false, showCoverageOnHover: false, zoomToBoundsOnClick: false }); then add a clusterclick event listener and construct a popup for the cluster. This assumes you have added name to each marker when constructing the marker cluster (see ...


1

Leaflet tiles have the leaflet-tile class You can use css to make the border visible .leaflet-tile { border: solid black 5px; } This would create black borders for each tile. It worked for this example https://www.mapbox.com/mapbox.js/example/v1.0.0/wms/ by editing in the developer console of the browser.


1

You enabled interactivity, but you've not created infowindows, hovers, or printed anything to the console yet. If you add the following within .done(function(layer) {....});, it will print to the console: sublayers[0].setInteraction(true); sublayers[0].on('featureClick',function(event, latlng, pos, data, layerIndex) { console.log(data); }); If you ...


0

I am using the answer above in a leaflet map to allow users to send me feature requests based on the clicked location in a map, which then opens a pre-filled google form with the lat long from that position. Those points are then shown on the map using sheetsee/tabletop. I added a map.hasLayer(my requests layer) so the user is not always seeing the popup ...


1

I know this question is rather old, but in case someone stumble upon this question, I'd like to give more options. Esri Geoportal Server is an open source product that enables discovery and use of geospatial resources including data and services Might be an interesting alternatives (albeit far fetched in terms of features) to Geonode.


0

The Esri JavaScript API has improved dramatically in the last couple years, I have enjoyed my experience with porting Flex apps to the JavaScript API. One thing that has really helped - that should not be as difficult to do as it is - is setting up a build process. Because Esri doesn't release their code, you have to use their built version. This means you ...


0

If you want to display 3d data. You should take a look at the cesium / ol3 plugin :here You can use the default terrain provided by Cesium. Or you can use geoserver to use your own with plugin


0

I am currently in the middle of converting a Flex based ArcGIS system into Javascript using the javascript API. The biggest mistake I made so far was using old Legacy code as compared to the more modern AMD. This caused me to rewrite and organize some javascript which was a waste of my time. I would say that doing it in-house is pretty low cost compared to ...


1

You might probably need to convert your geodetics from WGS UTM30 into web mercator auxiliary sphere (EPG 900913). That should do the trick! Hope it helps!


3

I've figured out how to use their web services. It looks like you have to send the token as a header instead of directly in the URL. For example, you can download an add-on to your browser such as postman that allows you to send GET and POST requests to web servers. Then select the option to send a get request to the web server such as ...


0

This worked for me. Note: I wanted my map not to be 100% width on large screens so I added .container{max-width:60em;} /* Remove for full screen */ HTML <div id="map-holder"> <div class="container fill"> <div id="map"></div> </div> </div> CSS #map { width: 100px; height:100px; ...



Top 50 recent answers are included