0
Commit Graph

203 Commits

Author SHA1 Message Date
Nicolas F
614663f601 Show marker group display names 2018-05-06 16:53:32 +02:00
Nicolas F
84b52326dc leaflet: Reimplement coordinate box on bottom left
I'd move the event setup into addTo, but JS is utter garbage and thinks
"this" in a function callback like that should be whatever, not where you
actually define it.
2017-03-13 14:04:37 +01:00
Andrew Chin
7a6b9973c2 Protect against optional marker variable 2017-02-19 11:46:44 -05:00
Nicolas F
7af5375df9 Actually add the high-dpi icons, durr
Oops I forgot
2017-02-19 11:37:02 -05:00
Nicolas F
3093a07dc2 Remove old junk in web_assets 2017-02-19 11:36:53 -05:00
Nicolas F
99817f786f Re-implement map compass 2017-02-19 11:36:37 -05:00
Nicolas F
e0b36fa9e4 Move icon anchor to tip of icons
The spawn and location icons should now have the tip of the icon
image point at the actual location. Previously, the icons were
centred onto it, which was slightly off in the vertical direction.
2017-02-19 11:36:24 -05:00
Nicolas F
6426182c1e Add retina size icons for spawn and location
Unfortunately we need to explicitly tell leaflet not to scale them
weirdly but to make them perceptually equivalent to the normal ones,
which means we have hardcoded icon sizes for those two right now.
2017-02-19 11:36:15 -05:00
Nicolas F
ebfd40c995 Centre map view on spawn marker if left-clicked 2017-02-19 11:35:34 -05:00
Nicolas F
9bcf2d5542 Re-implement location marker
Click to centre, right-click to dismiss.
2017-02-19 11:35:24 -05:00
Andrew Chin
91a571d628 WIP marker stuff 2017-02-19 11:30:28 -05:00
Andrew Chin
5047655bb7 Fix for IE11 2016-12-10 17:56:12 -05:00
Andrew Chin
806ad92b6f Style fixes for the world selector control 2016-12-10 17:56:00 -05:00
Andrew Chin
d249515915 Update to latest version of leaflet 1.0.2 2016-12-10 17:19:37 -05:00
Andrew Chin
ad85b3ff6a Initial reimplementation of url hash updating 2016-12-10 14:56:18 -05:00
Nicolas F
0731ea65cd Re-implement configurable bgcolor 2016-12-10 14:56:18 -05:00
Nicolas F
003fc9cb47 Fix errorTileUrl for JPEG tilesets 2016-12-10 14:56:18 -05:00
Nicolas F
044c65f922 Get rid of overviewer.gmap, move code into util 2016-12-10 14:56:17 -05:00
Nicolas F
2cfa3e8731 Add tset config to leaflet layer, refactor marker
Instead of stuffing specialised values into overviewer.collections,
put a reference to the overviewerConfig tileset entry into the leaflet
layer, so that we can access it from callbacks easily.
2016-12-10 14:56:17 -05:00
Nicolas F
cfa2a9f39b Re-implement spawn marker
Let's hope this works, any bugs are totally my fault.
2016-12-10 14:56:17 -05:00
Nicolas F
64598e9c01 Set errorTileUrl to blank.png
Hopefully this code is correct, I have not tried with a different
"base" variable, but I don't even know what that thing is.
2016-12-10 14:56:17 -05:00
Andrew Chin
6d3062fade Misc leaflet fixes 2016-12-10 14:56:17 -05:00
Nicolas F
c0875a9ceb Add replacement for the location marker 2016-12-10 14:56:17 -05:00
Nicolas F
2e07acc422 Add replacement for home marker, add icon_src dir
I added the icon_src dir to textures so that it doesn't get copied
over automatically like web_assets do.
2016-12-10 14:56:17 -05:00
Andrew Chin
d593a4e974 Added world switcher control 2016-12-10 14:56:17 -05:00
Andrew Chin
4f33d9087e Include licnese information into jquery and leafjet js files 2016-12-10 14:56:17 -05:00
Andrew Chin
e58d23b1a0 Initial commit to drop gmaps and to add support for leaflet
Many things do not work at the moment:
* Missing world selector
* Missing overlays (overlay tilesets and markers)
* Missing urlhash code
* Probably other stuff
2016-12-10 14:56:17 -05:00
Nicolas F
0aef9b436c [webassets] Updated jQuery version 2015-05-04 14:59:18 +02:00
Koza
f1af25799e Fixed rendering regions. genPOI.py: add new line to baseMakers.js; views.js: add polygons, with all the features that Google provides, polylines work fine; regions.js: example of usage 2014-12-13 17:17:11 +01:00
Aaron Griffith
a8fc3300b4 general fixes for min/maxzoom, documentation cleared up
hopeful fix for #1086
2014-04-05 20:29:58 -04:00
Wil Gieseler
4c374f3f9b correct coordinates and bold the x/z labels 2014-02-14 16:15:02 -08:00
Wil Gieseler
b7414e603c display region file name in map coordinates view 2014-02-14 16:12:24 -08:00
Thomas Lake
cd48aaa656 Rearrange infoWindow contents to shrink icon size
Addresses issue #1057
2014-01-30 14:17:37 +00:00
Aaron Griffith
7bbb077704 added light color texture, since it's apparently not part of minecraft anymore 2013-12-01 16:30:49 -05:00
Aaron Griffith
606d794948 Merge remote-tracking branch 'joe-mojo/master', PR #974, Issue #973 2013-12-01 16:29:07 -05:00
Nicolas Frattaroli
2b78b63e1a Fixed IE11 JS errors
Closes issue #1022.
Thanks to mattlee78 for pointing this out.
2013-11-08 06:56:45 +01:00
joe-mojo
13426dc508 Merge branch 'master' of git://github.com/overviewer/Minecraft-Overviewer 2013-10-08 23:55:09 +02:00
Andrew Chin
defa37252b Add warning to index.html that should hopefully be visible when there is
an error loading the JS components
2013-10-07 19:48:37 -04:00
CounterPillow
dc40dce59a Moved icons to subdirectory, adjusted docs
I also added one of the icons to the manualpois example, so people
have an exmaple of how they can use these in their configurations.
2013-09-23 16:02:06 +02:00
CounterPillow
b9298243b2 Added some icons for people to use in their POIs. 2013-09-19 01:10:42 +02:00
joe-mojo
76f4e2e2ba Merge branch 'master' of git://github.com/overviewer/Minecraft-Overviewer 2013-09-08 21:29:34 +02:00
Andrew Chin
ce419042e5 Use https to load external JS
This fixes an annoying problem where browsers generally ignore http javascript on https html
2013-08-29 10:00:00 -04:00
joe-mojo
603e60bd0d Fixed the way texture.py searched for foliage, grass and chests textures.
This is a "quick-and-dirty fix", you may improve it as I'm novice in Python.
Default files in data/textures have been renamed to reflect changes in new 1.6 texture packs (aka resource packs)
2013-08-27 23:20:12 +02:00
Aaron Griffith
6b76e9c2fa fixed hiding JSObserver info box when unused 2013-08-21 10:59:53 -04:00
Andrew Chin
f072281a9c Revert "Use protocol-relative scripts in index.html"
This reverts commit fabc244c91.
Using protocol-relative scripts broken users who don't use webservers
(i.e. file:/// )
2013-05-26 02:05:06 -04:00
Andrew Chin
fabc244c91 Use protocol-relative scripts in index.html 2013-05-21 20:01:29 -04:00
Aaron Griffith
fecbfd0706 Merge branches 'config-include', 'hashchange', 'poi-polylines', 'showlocationmarker' and 'signed-timestamps' 2013-05-20 20:56:40 -04:00
Nicolas Frattaroli
3986e10af2 Added option showlocationmarker 2013-05-13 15:38:54 +02:00
Kang Seonghoon
e466f891e1 hashchange triggered by setHash is now properly ignored 2013-05-12 00:36:13 +09:00
Kang Seonghoon
372b4e5e44 added support for hashchange event for recent browsers 2013-05-12 00:36:13 +09:00