WBCE CMS – Way Better Content Editing.
You are not logged in.
Pages: 1
Hi. Is there a way to display the map in 100% width? Thank you.
Offline
Ok, I just noticed that if I set the width to 10'000 px then the script is reducing the width to 100%. So this is sorted. Would anybody feel to help how to add styles to the map file? I would like to add the following styles:
// code für das styling
styles: [
{elementType: 'geometry', stylers: [{color: '#f5f5f5'}]},
{elementType: 'labels.icon', stylers: [{visibility: 'off'}]},
{elementType: 'labels.text.fill', stylers: [{color: '#616161'}]},
{elementType: 'labels.text.stroke', stylers: [{color: '#f5f5f5'}]},
{
featureType: 'administrative.land_parcel',
elementType: 'labels.text.fill',
stylers: [{color: '#bdbdbd'}]
},
{
featureType: 'poi',
elementType: 'geometry',
stylers: [{color: '#eeeeee'}]
},
{
featureType: 'poi',
elementType: 'labels.text.fill',
stylers: [{color: '#757575'}]
},
{
featureType: 'poi.park',
elementType: 'geometry',
stylers: [{color: '#e5e5e5'}]
},
{
featureType: 'poi.park',
elementType: 'labels.text.fill',
stylers: [{color: '#9e9e9e'}]
},
{
featureType: 'road',
elementType: 'geometry',
stylers: [{color: '#ffffff'}]
},
{
featureType: 'road.arterial',
elementType: 'labels.text.fill',
stylers: [{color: '#757575'}]
},
{
featureType: 'road.highway',
elementType: 'geometry',
stylers: [{color: '#dadada'}]
},
{
featureType: 'road.highway',
elementType: 'labels.text.fill',
stylers: [{color: '#616161'}]
},
{
featureType: 'road.local',
elementType: 'labels.text.fill',
stylers: [{color: '#9e9e9e'}]
},
{
featureType: 'transit.line',
elementType: 'geometry',
stylers: [{color: '#e5e5e5'}]
},
{
featureType: 'transit.station',
elementType: 'geometry',
stylers: [{color: '#eeeeee'}]
},
{
featureType: 'water',
elementType: 'geometry',
stylers: [{color: '#17263c'}]
},
{
featureType: 'water',
elementType: 'geometry',
stylers: [{color: '#c9c9c9'}]
},
{
featureType: 'water',
elementType: 'labels.text.fill',
stylers: [{color: '#9e9e9e'}]
}
]I believe the adjustment need to be done in the view.php file, but how? Thank you.
Offline
Hi. Which Google Map addon do you recommend to use for WBCE?
Offline
Hi, actually there is no recommendable _google_ maps module. Have a look at the leaflet maps module, which uses Openstreetmap.
https://addons.wbce.org/pages/addons.ph … em&item=89
Wir Benötigen: Cents, Euros... jetzt spenden!
Offline
Pages: 1