ionic-team / ionic-native-google-maps

Google maps plugin for Ionic Native
Other
221 stars 125 forks source link

Change colour in HTMLInfoWindow and outlines of KMLOverlay #306

Closed adenlim closed 4 years ago

adenlim commented 4 years ago

I'm submitting a ... (check one with "x")

If you choose 'problem or bug report', please select OS: (check one with "x")

cordova information: (run $> cordova plugin list)

cordova-plugin-device 2.0.2 "Device"
cordova-plugin-googlemaps 2.7.1 "cordova-plugin-googlemaps"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.2.1 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)

Current behavior: I am trying to change the colour of the HTMLInfoWindow in the KMLOverlay and the colour of the outlines on the KMLOverlay

Expected behavior:

Screen capture or video record: Capture

CODE IN MY KML FILE Related code, data or error log (please format your code or data):

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by FME 2017.1.2.0 (Build 17722) -->
<kml xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://www.opengis.net/kml/2.2">
<Document>
<Style Id="style32312">
     <PolyStyle>
       <color>7f0000ff</color>
       <colorMode>normal</colorMode>  
       <fill>1</fill>
  <outline>1</outline>  
     </PolyStyle>
  </Style>
<name>DENGUE_CLUSTER</name>
<visibility>1</visibility>
<Schema name="DENGUE_CLUSTER" id="kml_schema_ft_DENGUE_CLUSTER">
<SimpleField type="xsd:string" name="LOCALITY">
<displayName>LOCALITY</displayName>
</SimpleField>
<SimpleField type="xsd:short" name="CASE_SIZE">
<displayName>CASE_SIZE</displayName>
</SimpleField>
<SimpleField type="xsd:string" name="NAME">
<displayName>NAME</displayName>
</SimpleField>
<SimpleField type="xsd:string" name="HYPERLINK">
<displayName>HYPERLINK</displayName>
</SimpleField>
<SimpleField type="xsd:string" name="HOMES">
<displayName>HOMES</displayName>
</SimpleField>
<SimpleField type="xsd:string" name="PUBLIC_PLACES">
<displayName>PUBLIC_PLACES</displayName>
</SimpleField>
<SimpleField type="xsd:string" name="CONSTRUCTION_SITES">
<displayName>CONSTRUCTION_SITES</displayName>
</SimpleField>
<SimpleField type="xsd:string" name="INC_CRC">
<displayName>INC_CRC</displayName>
</SimpleField>
<SimpleField type="xsd:string" name="FMEL_UPD_D">
<displayName>FMEL_UPD_D</displayName>
</SimpleField>
</Schema>
wf9a5m75 commented 4 years ago

No option is available