You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, it's a bug. MapTypeControlOptions#style is an enum, however their values are auto generated and not necessarily match google's MapTypeControlOptions enum values.
I've created PR #1737 . Sorry if I didn't wait for your answer but I was eager to help after using this package for so long (for once I could actually do something which is inside my "skill pool").
DefJunx
pushed a commit
to DefJunx/angular-google-maps
that referenced
this issue
Sep 27, 2019
Example
public mapTypeControlOptions: MapTypeControlOptions = {
// mapTypeIds: [MapTypeId.HYBRID, MapTypeId.ROADMAP, MapTypeId.SATELLITE, MapTypeId.TERRAIN],
mapTypeIds: ['hybrid', 'roadmap', 'satellite', 'terrain'],
position: ControlPosition.LEFT_TOP,
style: MapTypeControlStyle.DROPDOWN_MENU
};
Produces
And
produces
Unless I dont understand well this looks like a bug
The text was updated successfully, but these errors were encountered: