There are no errors in your code. It is a problem with your css.
Just add this CSS in your map container (assuming it has id=gmap
):
#gmap img {
max-width: none;
}
More Related Contents:
- How do I remove default markers?
- Google Maps Multiple markers with the exact same location Not working
- Is it possible to write custom text on Google Maps API v3?
- Google Maps API: No ‘Access-Control-Allow-Origin’ header is present on the requested resource
- Google Maps API OVER QUERY LIMIT per second limit
- Google Map API – Removing Markers
- Google Maps API V3 Infobox.js removed
- Google Maps API – Getting closest points to zipcode
- ERROR: Google Maps API error: MissingKeyMapError
- Google Map Infowindow not showing properly
- Google Maps API to get bus route
- This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console
- How to get the center of a polygon in google maps v3?
- Google Maps V3: Draw German State Polygons?
- Exceed 23 waypoint per request limit on Google Directions API (Business/Work level)
- Google maps Marker Label with multiple characters
- How to offset the center of a Google maps (API v3) in pixels?
- Decoding the Google Maps embedded parameters
- Adding multiple markers with infowindows (Google Maps API)
- Google Maps API – Getting Street Coordinates
- Google Maps API v3 | shows no map data
- Change Google map marker orientation according path direction
- Google Maps API Polygon with “Hole” In Center
- Google Maps API 3 fitBounds padding – ensure markers are not obscured by overlaid controls
- How to get total driving distance with Google Maps API V3?
- How long do the new Places API session tokens last?
- Do not change map center or zoom level when rendering directions
- Box/Rectangle Draw Selection in Google Maps
- An elegant way to find shortest and fastest route in Google Maps API v3?
- Google Maps API Multiple Markers with Infowindows