Tag Info

New answers tagged


In the end that's what I did - ripped some code out. Got the coordinates that I needed and then had to play around with the json job done. I got the javascript from here. http://blog.sallarp.com/geojson-google-maps-editor.html


Hey also had the same problem figured out these two options, either place cdb.vis.Vis.addInfowindow(map, layer.getSubLayer(0), ['name']); in place of: sublayer.infowindow.set('template', $('#infowindow_template').html()); Or Use cartodb.createLayer(map, {'http://documentation.cartodb.com/api/v2/viz/2b13c956-e7c1-11e2-806b-5404a6a683d5/viz.json'}); ...


Why do you want to use WMTS? The GBIF website is based on Leaflet. The built-in tiles layer are not using WMTS grid at all but the OSM default grid. Normally with both OpenLayers 2 and 3, you just have to change the URL parameters when tiles are base_url/z/x/y.png but the GBIF url do not work the usual way: it requires more changes as the url uses ...


You'll have to patch existing software in order to use such a format, but there's nothing wrong with embedding GeoJSON in other JSON formats. JSON is super extensible like this. Every object is its own namespace. If you look in the other direction, there are some applications, namely Leaflet, http://geojson.io, Fiona's command line programs, that will ...

Top 50 recent answers are included