Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialjuan reyna
4,907 Pointschanging location google map
hello everybody,
I'm trying to modify the line where location is added on the google map project,(marker=), cause I'm trying to add another location, a different one, (other country, or other place just to customize it) but still the map shows me the location marks of the smells like baking site project, what am i doing wrong? do i need to modify another line besides this one below?
<img src="http://maps.googleapis.com/maps/api/staticmap?key=AIzaSyB3ilbgXs9PWRYyRGVkTD7T-P-MegH59yE&size=400x400&sensor=false&markers=MODIFY DIRECTION"
thank you everbody
1 Answer
John W
21,558 PointsShouldn't need to, here is an example showing a marker at Mountain View (Google's home base) and Cupertino (Apple's home base). You separate each location with the vertical bar ( | ), encoded as %7C
Feel free to consult the Google static maps API documentation: https://developers.google.com/maps/documentation/staticmaps/
juan reyna
4,907 Pointsjuan reyna
4,907 Pointsoh but i meant the api map java script :/, but i already figured it out thank you