Created on 20 March 2017
icon_unfollowing
Login to follow
google-maps-openstreetmap

Google Maps OpenStreetMap

Stable version 1.0.2 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded on 23 March 2017 by 
google-maps-openstreetmap

Google Maps OpenStreetMap

Details
OpenStreetMap MapType Plugin for Google Maps Component...
Read more

OpenStreetMap MapType Plugin for Google Map Component

Require Google Map Component...

OpenStreetMap have more contrast and looks just like a paper map...

Google Map have more details, but if you want a fresh looking and different map, this one is for you...


This is not a complete map replacement to OpenStreetMap!

We're still using Google Maps JS API through Google Maps Component, only the map tile is using OpenStreetMap.


How to use it:

1. Add dependency: Google Map and Google Map OpenStreetMap

2. Add usual Map from Google Map Component

3. Add GMap_OSM_Flow\OpenStreetMap_MapType webblock below the Map webblock.

4. Assign input parameter: MapId

5. Set MapOptions in Map component to:

"{
    mapTypeId: 'OpenStreetMap',
    mapTypeControl: false
}"

mapTypeControl is disabled because when you click Map Control, mapTypeId will be reverted to Google Map's own 'roadmap'.


Note: max zoom is locked to 19 when using OpenStreetMap MapType

Release notes (1.0.2)

Update OpenStreetMap_Sample screen to include MapType and Address control...

Reviews (0)
Category
Functional libraries & utilities, Maps & Location
Tags
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
See all 1 dependencies
Application Objects
Google Maps OpenStreetMap has 0 AOs.
Team
Compatible with
Version 11
Version 10
Stack:
All
Database:
All
Asset consumers
No consumers yet.
Weekly downloads