Skip to content
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

breaking typo in styledmaps wizard #28

Closed
GoogleCodeExporter opened this issue Aug 5, 2015 · 0 comments
Closed

breaking typo in styledmaps wizard #28

GoogleCodeExporter opened this issue Aug 5, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Follow the instructions here: 
http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html
2. Your map will not display your custom styles.

To fix this:
3. Pass the JSON to `MapOptions.styles` instead of `MapOptions.style`

Just need to add an 's' to the instructions so people trying it out will not be 
misled and think it is broken.

Corrected instruction text below
====================

How to use the Styled Maps Wizard

Navigate to the map region you wish to use to preview your style. Jump to a 
particular location using the Enter a location field in the top right.
Select a type of feature to style in the Selectors panel.
If you only wish to style the Geometry or Labels for the selected feature type, 
select the required Element Type.
Select the combination of Stylers to apply to the selected feature type.
Once you are happy with the styling of the feature type, click the Add button 
in the Map Style panel to save the style and create a new style to work on.
Repeat Steps 2 to 5 to build up the set of styles for your map. Styles are 
applied in the order they are listed in the Map Style panel.
Select an existing style in the Map Style panel to edit it.
Delete a style by clicking on the trashcan icon to the right of the style 
number.
When you are happy with your Styled Map, click the Show JSON button to display 
the JSON object to pass to the `styles` property of your `MapOptions` object in 
order to apply the style to a Maps API v3 Map.
To generate an example map with this style using the Static Maps API, click the 
Static Map button.
For more information on Map Styling, please see the Maps API v3 Documentation, 
and Static Maps API Documentation.

Original issue reported on code.google.com by kerryspy...@gmail.com on 2 Mar 2015 at 7:27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants