Hi I'm trying to generate maptiles for use for leaflet.js. When I try to add the transparent option the generated images seem to overlap with another version. Given the attached DWG file what is the proper command to generate the map tiles?
./dwg2maptiles -b transparent /Users/milo/Desktop/booky/maps/elmer3.dwg
what is TMS? do I need to add it?
./dwg2maptiles -b transparent -tms /Users/milo/Desktop/booky/maps/elmer3.dwg
Also I'm just using the example on this page
http://qcad.org/res/map/
I don't know anything about CAD, I'm a web developer. Our plan is to hire someone to create the floor plans but I need to understand how to generate the map tiles so I can give him guidelines.
I attached screenshots of what the transparent and non-transparent tiles look like within leaflet.js
How to generate map ties from dwg without overlap
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
-
- Registered Member
- Posts: 1
- Joined: Thu Jun 27, 2019 10:01 am
How to generate map ties from dwg without overlap
- Attachments
-
- Screen Shot 2019-06-27 at 5.58.07 PM.png (34.16 KiB) Viewed 3925 times
-
- Screen Shot 2019-06-27 at 5.58.18 PM.png (34.04 KiB) Viewed 3925 times
-
- elmer3.dwg
- (380.25 KiB) Downloaded 378 times
Re: How to generate map ties from dwg without overlap
I've added a bug report at:
https://github.com/qcad/qcad/commit/09f ... e944128a97
The TMS parameter has to match with the tms parameter used in leaflet (tms: true or tms: false).
https://github.com/qcad/qcad/commit/09f ... e944128a97
The TMS parameter has to match with the tms parameter used in leaflet (tms: true or tms: false).