-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom styling #17
Comments
Hey @chiss2906, This simple example generates the following map: |
Wouldn't it be easier to provide map options to the GMap props? |
I would not say "easier" but we could do that. |
Untested, would something like this work: createMap() {
var center = !isNan(this.props.lat) ? new google.maps.LatLng(this.props.lat, this.props.lng): undefined;
var googleOptions = assign({
center: center
}, this.props);
this.map = new google.maps.Map(this.getDOMNode(), googleOptions);
... That way it is both handy to use and supports all Google options... Also, wouldn't it be better to pass the map to the |
@chiss2906 @wmertens here we go. |
There is no way to make custom buttons (like replacing the zoom in/out icons), markers, color themes (e.g. https://snazzymaps.com/).
The text was updated successfully, but these errors were encountered: