Here I have the map_canvas within a div called map. The thing is when I increase the width of the map, the
map_canvas
div
map
width
Have you checked that the width of the div container has been set? Also, has the width of the map been set in the mapOptions object?
If you provide more examples of your code, it will be easier to help.