tag:blogger.com,1999:blog-6029629494508626591.post6001657067803484302..comments2024-03-27T07:26:29.743+00:00Comments on Pedro's Tech Mumblings: Custom Map Tiles (Part 2 - TileMill)Pedro Sousahttp://www.blogger.com/profile/17058685497255714267noreply@blogger.comBlogger28125tag:blogger.com,1999:blog-6029629494508626591.post-22760053475804925752020-02-05T11:55:04.255+00:002020-02-05T11:55:04.255+00:00Get answers to your questions here
globalemployees...Get answers to your questions here<br /><a href="https://raceqs.com/forum/topic/can-someone-help-me-in-hiring-a-web-developer/" rel="nofollow">globalemployees</a><br /><a href="https://www.foroatletismo.com/foro/members/globalemployees116.html" rel="nofollow">globalemployees</a><br /><a href="https://extstore.com/forum/free-extensions/8484-is-it-good-to-set-up-the-hp-printer-via-123-hp-com-setup-6978#11402" rel="nofollow">GlobalEmployees</a>GlobalEmployeeshttps://www.blogger.com/profile/12232780408093164901noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-36886639915697990502019-06-18T06:18:29.759+01:002019-06-18T06:18:29.759+01:00I finally found great post here.I will get back he...I finally found great post here.I will get back here. I just added your blog to my bookmark sites. thanks.Quality posts is the crucial to invite the visitors to visit the web page, that's what this web page is providing.<br /><br /><a href="https://healthnewsreporting.com/schemes-and-policies/know-all-about-the-state-employee-cashless-treatment-scheme/%22" rel="nofollow">state employee cashless treatment scheme </a><br />Ujan sharmahttps://www.blogger.com/profile/10567168164008681679noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-8142999991830515022017-03-29T03:37:09.886+01:002017-03-29T03:37:09.886+01:00Hi Guys,
Just wondering whether you would be able...Hi Guys,<br /><br />Just wondering whether you would be able to help with this, I have export my tiles (with mouse hover labels using teaser template) using TileMill.<br />and after the export I checked my preview and I can see those labels when I hover my mouse.<br /><br />However mouse over text doesn't appear in google maps .... all the other tiles are working perfectly except the tooltip text<br /><br />Am I doing something wrong here?Wickhttps://www.blogger.com/profile/07203577120791279152noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-11094198425134443822015-09-25T14:29:57.963+01:002015-09-25T14:29:57.963+01:00Hi Blogger,
I want to display map with custom til...Hi Blogger,<br /><br />I want to display map with custom tiles as you mentioned in this blog i followed everything to render my tiles.How to render google map along with my custom tiles.please help me outAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-66249030969848553532014-02-20T08:11:07.099+00:002014-02-20T08:11:07.099+00:00Hi,
There's actually an easier way:
http://gi...Hi,<br />There's actually an easier way: <br />http://gis.stackexchange.com/questions/50646/is-there-any-way-to-use-mbutil-on-windows<br /><br />Just check the accepted answer<br />Pedro Sousahttps://www.blogger.com/profile/17058685497255714267noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-60963623611311700122014-02-19T23:05:17.302+00:002014-02-19T23:05:17.302+00:00Hello Pedro!
Really nice post.
As you I need to us...Hello Pedro!<br />Really nice post.<br />As you I need to use mb-util in a windows environment (I work with ArcGIS) and I'm having troubles using mbutil with cygwin.<br />I installed cygwin with all necessary packages, I installed mbutil and I have the next problem.<br />When try to execute any mb-util command I have no response, only a blank line....<br /><br />Have you any idea why this can be happening?<br /><br />Muito obrigado<br />Jose Francisco Sánchezhttps://www.blogger.com/profile/08166630473677456303noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-43018010334898577162014-01-10T13:15:24.833+00:002014-01-10T13:15:24.833+00:00Hi Pedro, Really nice Post,
An easy question. Is...Hi Pedro, Really nice Post, <br /><br />An easy question. Is it necessary to have an Web server running to load the Tiles?<br /><br />ThanksUnknownhttps://www.blogger.com/profile/16927965827728627572noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-6261841906583575562013-09-27T20:26:19.672+01:002013-09-27T20:26:19.672+01:00I'd like to divert from your approach where yo...I'd like to divert from your approach where you extract the PNGs from the SQLite database. Instead, I'd like to retain the SQLlite database and have it sit underneath tilestream (see project at https://github.com/mapbox/tilestream). I can successfully access my map by submitting a URL to the tilestream server, e.g. http://192.168.1.25:8888/map/John_test1 (John_test1.mbtiles is my exported SQLite database); however, when I do not seem able to generate a map when I try to referenced the tile stream server in a page such as: <br /><br /> var map = L.mapbox.map('map');<br /> map.addLayer(L.tileLayer('http://192.168.1.25:8888/map/John_test1/{z}/{x}/{y}.png'))<br /> ...<br /><br />If you know how to properly reference a SQLite database via a tile server and have it appear using Leaf, that would be very helpful. There does not seem to be a definitive statement on how to accomplish this anywhere.John Poolehttps://www.blogger.com/profile/08818725573103905547noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-74924458373971249692013-01-22T00:09:41.174+00:002013-01-22T00:09:41.174+00:00Thanks for the info Tom.Thanks for the info Tom.Pedro Sousahttps://www.blogger.com/profile/17058685497255714267noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-49987300360293438552013-01-22T00:03:44.740+00:002013-01-22T00:03:44.740+00:00The line
mb-util --scheme=osm Freguesias.mbtiles ...The line<br /><br />mb-util --scheme=osm Freguesias.mbtiles Freguesias<br /><br />Should now be<br /><br />mb-util --scheme=xyz Freguesias.mbtiles Freguesias<br /><br />With the new version of MBTiles which uses the more common term.<br /><br />Thanks!Tomhttps://www.blogger.com/profile/13882613552196589532noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-32685563925194874202013-01-18T16:33:52.448+00:002013-01-18T16:33:52.448+00:00Febrizio, mind sharing with us about what was your...Febrizio, mind sharing with us about what was your solution? We have the same issue.Jony Kwahttps://www.blogger.com/profile/04705022769159233993noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-29614824174308675382012-09-08T15:11:23.767+01:002012-09-08T15:11:23.767+01:00thanks for your help pedro...
it all works now, i&...thanks for your help pedro...<br />it all works now, i've found the solution.. :)<br />thanks a lot.. febriziohttps://www.blogger.com/profile/02109619833615844477noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-75749381932083618322012-09-08T03:41:28.104+01:002012-09-08T03:41:28.104+01:00and here's the directory tree
http://img15.im...and here's the directory tree<br /><br />http://img15.imageshack.us/img15/9494/75542193.jpgfebriziohttps://www.blogger.com/profile/02109619833615844477noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-35672892504972952882012-09-08T03:36:36.249+01:002012-09-08T03:36:36.249+01:00Sorry Pedro,,
it still doesn't work for me.. :...Sorry Pedro,,<br />it still doesn't work for me.. :(<br />what's wrong?<br /><br />i have modified your source code with my tile location, but it still doen't work..<br />can you please take a look at my code?<br /><br />here's the link: <br />http://bunesia.com/tilemill<br />it can't load the tile...<br /><br />thx before for your help...febriziohttps://www.blogger.com/profile/02109619833615844477noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-55199313686191621312012-09-04T14:45:00.869+01:002012-09-04T14:45:00.869+01:00ex:
map.setView(new L.LatLng(-3.5,120),6);ex:<br /><br />map.setView(new L.LatLng(-3.5,120),6);Pedro Sousahttps://www.blogger.com/profile/17058685497255714267noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-25195446199511189562012-09-04T14:43:17.602+01:002012-09-04T14:43:17.602+01:00After declaring the map do something like:
map.se...After declaring the map do something like:<br /><br />map.setView(new L.LatLng(, ), );<br /><br />To get the actual coordinates, go for example to Google maps, right click somewhere and use the "add lat/lon marquer"<br />Pedro Sousahttps://www.blogger.com/profile/17058685497255714267noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-47275792314398813222012-09-04T14:37:03.599+01:002012-09-04T14:37:03.599+01:00thx for your reply, but how can i decide the right...thx for your reply, but how can i decide the right center coordinate of my map?febriziohttps://www.blogger.com/profile/02109619833615844477noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-58124500525263462802012-09-04T14:32:59.437+01:002012-09-04T14:32:59.437+01:00That should be easy enough to address. Basically t...That should be easy enough to address. Basically the map is requesting a tile that you've not generated with TileMill.<br /><br />You can address this in two ways:<br /><br />- you generate the missing tiles<br />- you change the center coordinate of your map<br /><br />Your map is probably centered in the wrong place or you've generated an incomplete or incorrect set of tiles.<br /><br />Both keys "6/38/27" and "6/38/37" represents valid tiles requests. You can check them here:<br /><br />http://a.tile.openstreetmap.org/6/38/27.png<br />http://a.tile.openstreetmap.org/6/37/37.png<br /><br />Meaning: z/x/y (z = zoom level. 1 furthest way)Pedro Sousahttps://www.blogger.com/profile/17058685497255714267noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-85103763900981077712012-09-04T14:23:52.555+01:002012-09-04T14:23:52.555+01:00Good evening pedro,,
thx for your live demo above,...Good evening pedro,,<br />thx for your live demo above,but it still not works for me.. :(<br /><br />i found an error like this when i press F12 in chrome:<br />- when the map loads, it loads png -> file:///C:/Users/Febrizio/Documents/Mapping_Project/Project/bismillah/6/38/27.png<br />- but i don't have those files, i have -> file:///C:/Users/Febrizio/Documents/Mapping_Project/Project/bismillah/6/37/37.png<br /><br />so my html loads png that i don't have,<br />it makes the page going blank if i load that..<br /><br />what's wrong? did i generate wrong png's?febriziohttps://www.blogger.com/profile/02109619833615844477noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-7365181543344846152012-09-03T15:42:57.949+01:002012-09-03T15:42:57.949+01:00My javascript is working, nothing error in here..
...My javascript is working, nothing error in here..<br /><br />Okay..<br />thx a lot for your help..<br />i will try it first.. :)febriziohttps://www.blogger.com/profile/02109619833615844477noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-10129190470215414682012-09-03T15:29:10.819+01:002012-09-03T15:29:10.819+01:00I don't see anything wrong with your code. Don...I don't see anything wrong with your code. Don't you have any Javascript error? Also, my example was using Leaflet 0.3.<br /><br />Anyway, here's an online working sample that I did using Leaflet and TileMill generated tiles. See if it can help you out.<br /><br />http://psousa.net/demos/maps-and-boardgames-part-2/demo3.htmlPedro Sousahttps://www.blogger.com/profile/17058685497255714267noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-48116753622647055272012-09-03T15:20:17.983+01:002012-09-03T15:20:17.983+01:00i have check the directory, the tile, and all work...i have check the directory, the tile, and all works fine..<br />when i open this:<br /><br />http://localhost/mapping_project/project_arab/6/35/35.png, <br /><br />i see one piece of my map..<br /><br />here's my full code:<br /><br />--start of html document--<br />--head tag--<br /> -script src='../src/leaflet.js' type='text/javascript'> -/script-<br /> -script src='../src/wax.leaf.js' type='text/javascript'>-/script-<br /> -link href='../src/leaflet.css' rel='stylesheet' type='text/css' /><br />--end of head--<br />--body tag--<br />--script tag--<br /> var tilesUrl = 'http://localhost/mapping_project/project_arab/{z}/{x}/{y}.png',<br /> tilesLayer = new L.TileLayer(tilesUrl);<br /> <br /> map = new L.Map('map');<br /> map.addLayer(tilesLayer);<br /> map.setView(new L.LatLng(21.4,39.8), 6);<br />--end of script--<br />--end of body--<br />--end of html document--<br /><br />it gives me blank page when it load.<br />what's wrong with my code?febriziohttps://www.blogger.com/profile/02109619833615844477noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-88072903979877656792012-09-03T15:05:41.825+01:002012-09-03T15:05:41.825+01:00Well, could be a lot of things. First of all, are ...Well, could be a lot of things. First of all, are the tiles already generated and in place?<br /><br />You can try this easily by opening a browser to the URL that you placed on the "tileURL" variable. Something like:<br /><br />http://localhost/tiles/freguesias/1.0.0/FreguesiasPT/0/0/0.png<br /><br /><br />Don't forget to create the virtual directory on IIS.<br /><br /><br />If this step succeeds and you have a working url, should be a Javascript error. Open Firebug or press F12 in IE/Chrome to see if there are any script errors. If so, and you can't understand them, place a reply here and I'll help you.<br />Pedro Sousahttps://www.blogger.com/profile/17058685497255714267noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-70284445719314971832012-09-03T14:56:22.437+01:002012-09-03T14:56:22.437+01:00Hello,
thanks for the great tutorial..
but when i ...Hello,<br />thanks for the great tutorial..<br />but when i load the .png tiles using leaflet as you show like this:<br />var tilesUrl = 'http://localhost/tiles/freguesias/1.0.0/FreguesiasPT/{z}/{x}/{y}.png',<br />tilesLayer = new L.TileLayer(tilesUrl);<br /> <br />map = new L.Map('map');<br />map.addLayer(tilesLayer);<br />map.setView(new L.LatLng(39.5,-5.0), 6);<br /><br />it give me blank page in browser..<br />what's wrong?<br />thanks for your help, and sorry for my bad english..febriziohttps://www.blogger.com/profile/02109619833615844477noreply@blogger.comtag:blogger.com,1999:blog-6029629494508626591.post-28995032658555810232012-05-31T00:45:39.789+01:002012-05-31T00:45:39.789+01:00Thanks for visiting Jorge ;)
Abraço
PedroThanks for visiting Jorge ;)<br /><br />Abraço<br />PedroPedro Sousahttps://www.blogger.com/profile/17058685497255714267noreply@blogger.com