Maptype set to 'Overlay'

  • dave_logic
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 11 months ago #10835 by dave_logic
Maptype set to 'Overlay' was created by dave_logic
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
7 years 11 months ago #10836 by Dima
Replied by Dima on 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 , help with translation ;)

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

  • dave_logic
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 11 months ago - 7 years 11 months ago #10837 by dave_logic
Replied by dave_logic on 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: 7 years 11 months ago by dave_logic.

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

More
7 years 11 months ago #10838 by Dima
Replied by Dima on 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 , help with translation ;)

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

  • dave_logic
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 11 months ago #10839 by dave_logic
Replied by dave_logic on 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
7 years 11 months ago #10852 by Dima

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

Time to create page: 0.203 seconds
Powered by Kunena Forum