Replies: 5 comments 8 replies
-
Smooth movement and zoom. Markers switch on/off within the browser window. |
Beta Was this translation helpful? Give feedback.
-
Had to find some time, but the zoom and smooth scrolling are done. Can you build locally ? I pushed the changes to the |
Beta Was this translation helpful? Give feedback.
-
How do you store your markers ? Do you usually pass them on the command line/UI or do you have a file with all of them defined ? I am thinking of implementing a JSON file input with a list of locations in minecraft coordinates, that will get output in the map metadata with their coordinates updated for the render. Something like: {
"worldX": 1789,
"worldY": -892,
"color": "#whatever",
"text": "This marks my secret entrance",
"icon": "file.png"
} Leaflet allows the use of custom icons, are you interested in that ? |
Beta Was this translation helpful? Give feedback.
-
In a programming tour de force, I got the markers to work in less than 2 hours ! I am not a UI designer. For now, marker support in [{
"x": 1247,
"y": 72,
"z": -622,
"title": "This is my base."
}, {
"x": 0,
"y": 100,
"z": 0,
"title": "The ender portal !"
}] The Once done, they will appear on the map ! |
Beta Was this translation helpful? Give feedback.
-
Hello! I am also interested in web browser usage, and am very impressed with the marker system! Thank you! As for increased leaflet performance for large maps, could I suggest adding jpeg output to mcmap? I would like to use these compressed jpegs as LODs and have leaflet.js render them for when you're zoomed out -- example, thus increasing performance for large maps.:
I suspect the map that @DrakorthaP posted as an example, link, uses some sort of jpeg LOD too. |
Beta Was this translation helpful? Give feedback.
-
This thread is made to discuss the implementation of a new browser-based solution to view large
mcmap
maps.A legacy OpenLayers solution existed in the
contrib
folder - and I added a new, Leaflet based one. A project called mcmapDZ used to work withhdmake
, but both projects seem lost to time.Let's discuss the available implemetations and what is expected from a valid solution, along with what a workflow would look like.
List of target features:
Beta Was this translation helpful? Give feedback.
All reactions