You're right, ol3-google-maps doesn't support style functions. Your first idea adding/removing the features could do the trick.
Alexandre On Friday, 29 July 2016 03:04:57 UTC-4, (unknown) wrote: > > OL3GM isnot supporting Style function... > > so could you suggest another example.... > > > On Tuesday, December 16, 2014 at 1:48:37 PM UTC+5:30, Jesper Larsen wrote: >> >> >> Hi! >> >> Is there a way to set visibility/opacity on a feature? Or some other way >> to hide a feature? >> >> I have a lot of features added to my map and I would like to control >> their visibility. I know it's possible by using the add/remove method, >> but I would rather prefer to hide the features instead of removing them. >> >> Thanks, >> >> Jesper >> > -- You received this message because you are subscribed to the Google Groups "OL3 Dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/ol3-dev. To view this discussion on the web visit https://groups.google.com/d/msgid/ol3-dev/3ec45648-2d21-4090-ad7a-1a1791e05551%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
