Maptype set to 'Overlay'

  • dave_logic
  • dave_logic's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 1 month ago #10835 by dave_logic
dave_logic created the topic: Maptype set to 'Overlay'
Hi,

I have a map with 1 base map (google) and 4 Tiled overlay maps (all the same but with differing opacities). When I set these Maptypes to 'Map' they show as a selectable Map Type however there is no base map underneath. If I set these 4 Maptypes to 'Overlay' they vanish from the Map type selection.

Is there anything I can do to have 1 base map with 4 tiled overlays that are selectable one at time to overlay over the base map ?

Regards,

Dave

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #10836 by Dima
Dima replied the topic: Maptype set to 'Overlay'
Hi Dave.
I'm not clear understand you.
Lets I try to explain custom map types.
To include your map type in map type selector you should:
- enable map type selector
- enable custom map types (in map details, field "Allow Custom Map Types")
- write map type IDs in custom map types, separated by comma (field "Custom Map Types List")

And for layers
- if you set it to map - you'll get only your tiles.
- if you set overlay - you'll get your tiles, and when you haven't tiles - you'll get main google tiles.

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Zh GoogleMap: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Zh YandexMap: forum.zhuk.cc/index.php/forum/ym-user-s-sites

Please Log in or Create an account to join the conversation.

  • dave_logic
  • dave_logic's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 1 month ago - 1 year 1 month ago #10837 by dave_logic
dave_logic replied the topic: Maptype set to 'Overlay'
Hi Dima,

Thanks for the quick response. So are you saying that you cant specify Overlay maps as Maptypes ? If I set to 'Map" I can see MapType selector but if I specify as 'Overlay' the maptype selector vanishes.

Please see screenshots attached.

Regards,

Dave
Attachments:
Last Edit: 1 year 1 month ago by dave_logic.

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #10838 by Dima
Dima replied the topic: Maptype set to 'Overlay'
Aha. I understand you.
Yes, if you set Overlay type, you can't see it in map type selector for this layer, but space where you haven't map tiles will be filled by default google's map tiles. And you can't control to show/hide/change this overlay.
I have plans to add slider for overlay map types to control opacity of layer. I think in nearest future I'll do that.

And for my feature to display ground overlays (in paths you can configure to show image on map, like map type) I'll add ability to manage (how/hide) it by group list too.

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Zh GoogleMap: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Zh YandexMap: forum.zhuk.cc/index.php/forum/ym-user-s-sites

Please Log in or Create an account to join the conversation.

  • dave_logic
  • dave_logic's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 1 month ago #10839 by dave_logic
dave_logic replied the topic: Maptype set to 'Overlay'
Hi Dima,

The overlay slider would be an EXCELLENT addition !!! -

The code for Google v2 is here: www.maptiler.com/maptilerlayer/

and adapted for V3 here: www.gavinharriss.com/code/opacity-control

PLEASE implement this. No other Joomla component has this feature so would be special.

Regards,

Dave

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #10852 by Dima
Dima replied the topic: Maptype set to 'Overlay'

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Zh GoogleMap: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Zh YandexMap: forum.zhuk.cc/index.php/forum/ym-user-s-sites

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds

Donate


Go to top