tag:blogger.com,1999:blog-4741970181714760187.post1030685690355878836..comments2024-03-14T19:47:05.494+00:00Comments on master maps: Exploring the MapBox stack: MBTiles, TileJSON, UTFGrids and WaxBjørn Sandvikhttp://www.blogger.com/profile/09449118212462364491noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-4741970181714760187.post-91167960607365610302016-03-19T13:45:56.079+00:002016-03-19T13:45:56.079+00:00Would it be possible to create a map similar to th...Would it be possible to create a map similar to this one on a local coordinate systems so that others wouldn't know where it was located?<br /><br />David Biermanhttps://www.blogger.com/profile/15269938912370629375noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-39735954033362248132015-04-01T22:15:33.290+01:002015-04-01T22:15:33.290+01:00Hi Bjørn,
awesome work !
do you know how I can ...Hi Bjørn, <br /><br />awesome work !<br /><br />do you know how I can do the exact same thing (switch or remove legend when baselayer is on/off), but with the overlay layers instead. <br /><br />I've tried moving your "population" tilelayer from the base layers to the overlay layers, the "population" legend appears when the layer is checked, but does not disapear when the layer is unchecked...<br /><br />Thanks again for all these tutorials, very helpful for beginers!Thomas Barucchihttps://www.blogger.com/profile/05084328321963157344noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-2084714534687473502014-05-28T09:42:35.951+01:002014-05-28T09:42:35.951+01:00There is now a ready to use PHP server for MBTiles...There is now a ready to use PHP server for MBTiles + UTFGrid hosting: https://github.com/klokantech/tileserver-php/ with a live demo at http://tileserver.maptiler.com/Anonymoushttps://www.blogger.com/profile/01972269205442805824noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-45261468469907367812013-06-26T13:02:34.515+01:002013-06-26T13:02:34.515+01:00This comment has been removed by the author.machttps://www.blogger.com/profile/13849672343411758226noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-2747159148870244972013-06-26T13:00:42.574+01:002013-06-26T13:00:42.574+01:00I'm trying to get my own mbtiles project up bu...I'm trying to get my own mbtiles project up but I cant seem to make it work, when i try to do it, only a blank map appears at <a rel="nofollow"><br />http://mandala2006.info/testleaf.html</a><br /><br />My tilejson is here <a rel="nofollow">http://mandala2006.info/mbtiles/ph-comp.tilejson </a><br /><br />and my code is like this <br /><br />var url = 'mbtiles/ph-comp.tilejson'<br />wax.tilejson(url,<br />function(tilejson) {<br />var map = new L.Map('map-div')<br /> .addLayer(new wax.leaf.connector(tilejson))<br /> .setView(new L.LatLng(11, 123), 8);<br /><br />// Add map interaction (tooltips)<br />wax.leaf.interaction()<br /> .map(map)<br /> .tilejson(tilejson)<br /> .on(wax.tooltip().animate(true).parent(map._container).events());<br />});<br /><br />What am i doing wrong?machttps://www.blogger.com/profile/13849672343411758226noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-3109412373897030212013-06-19T23:43:05.781+01:002013-06-19T23:43:05.781+01:00Dorothy: You can change the position by changing t...Dorothy: You can change the position by changing the CSS rules for .wax-legend. <br /><br />Fons: Yes, it's the URL to your PHP script. TileJSON is part of your mbtiles file, and the PHP script will return it. Bjørn Sandvikhttps://www.blogger.com/profile/16080335362672606377noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-48344395494303288132013-06-19T22:56:06.259+01:002013-06-19T22:56:06.259+01:00How can I make a PDF or image out of http://a.tile...How can I make a PDF or image out of http://a.tiles.mapbox.com/v3/slate.truenames.html ? The PDF/image should be zoomable to the detail level of the link. Thanks a lot in advance!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-32760112283588277612013-03-17T17:03:19.407+00:002013-03-17T17:03:19.407+00:00Thanks for sharing this. I'm trying to get my ...Thanks for sharing this. I'm trying to get my own .mbtiles online for a project. Implementing Wax is going wrong I think. <br /><br />In the same folder:<br />- tileserver.php<br />- .mbtiles<br />- index.html (with the script you've written and the sources for leaflet)<br /><br />I've downloaded Wax, but this folder is full of stuff, so I don't know what to use.<br />In the script you've written, you're calling for a 'wax.tilejson('URL', function)....etc. I don't know what URL to put there and where is the tilejson file that I need to get from the .php script you told about?<br /><br />Hope you can help me, I would really appreciate it!<br /><br />Thanks in advance, Fons.Fonsnoreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-19795711879058029522013-02-20T21:37:54.705+00:002013-02-20T21:37:54.705+00:00Hello Bjorn,
Thank you for sharing. I have a quest...Hello Bjorn,<br />Thank you for sharing. I have a question for you regarding the legend. If you would like to move your legend to the top left corner of your map, how would you do this?<br />I am new to MapBox and can't find any comments on this topic, so your answer would very appreciated.<br />DorothyAnonymoushttps://www.blogger.com/profile/02450454560244760165noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-81698337177866959932012-11-26T08:29:50.918+00:002012-11-26T08:29:50.918+00:00Hi Ben,
It's probably this bug: https://githu...Hi Ben,<br /><br />It's probably this bug: <a href="https://github.com/mapbox/wax/issues/242" rel="nofollow">https://github.com/mapbox/wax/issues/242</a><br /><br />If you use <a href="https://github.com/mapbox/wax/tree/master/dist" rel="nofollow">the latest Wax distribution</a>, it should solve the issue. <br /><br />BjørnBjørn Sandvikhttps://www.blogger.com/profile/16080335362672606377noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-74598238697338427592012-11-21T09:19:41.795+00:002012-11-21T09:19:41.795+00:00Hi there, thx for the post. There is an issue with...Hi there, thx for the post. There is an issue with the wax.leaf.interaction, if you position NZ to the right side of the map, then hover over NZ you will see that it does not render the teaser, but if you hover in the center of the map the teaser is rendered, it's as if the map had never move. I wanted to make a map with similar components and also wanted to use leaflet, but using wax and modestmaps instead solves the issue.Benhttps://www.blogger.com/profile/06432094023686682096noreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-37240900428125385432012-11-04T22:36:47.693+00:002012-11-04T22:36:47.693+00:00Thank you! I had played with TileMill and Leaflet ...Thank you! I had played with TileMill and Leaflet before, but was unsure how I was supposed to use them (and other parts of the MapBox family) together. This is the first time I've seen someone describe how to do this! cristennoreply@blogger.comtag:blogger.com,1999:blog-4741970181714760187.post-25921659363748725462012-11-04T13:20:40.698+00:002012-11-04T13:20:40.698+00:00Nice article, thank you for sharing your experienc...Nice article, thank you for sharing your experience!Anonymoushttps://www.blogger.com/profile/14237671145630614800noreply@blogger.com