Closed lksv closed 6 years ago
You should definitely be able to do this with CSS and JavaScript without changing the plugin. Here's an example that will need some tweaking, but it does this:
position: absolute
top
and left
to the middle of the page. This is a rough example, but you'll want to subtract the width and height of the indicator to get it truly centered.
First, thanks for a perfect plugin.
I would like to put loading spinner (in my case spinjs) to custom position. E.g. make it really big in the center of the map.
Is it somehow possible through {separate: true} options and custom css? I cannot find a way:(
The only idea what I have is to change code:
functions _showIndicator and hideIndicator like:
Is it reasonable solution or am I something overlooking missing?