Closed entoniperez closed 5 years ago
I defined styles in my Controller in this way, following Google Maps documentation:
$estils = '{ "featureType": "poi.business", "stylers": {"visibility": "off"} }'; $config['styles'] = json_decode($estils, true);
But it returns an error: "Illegal string offset 'definition'".
Style is not any option. Handle styling externally.
I defined styles in my Controller in this way, following Google Maps documentation:
But it returns an error: "Illegal string offset 'definition'".