How to remove horizontal line on google map embed
I solved it with solution from Google Map v3 Initializing with horizontal gray line w/ Foundation in Chrome.
#google_map *, #google_map *:before, #google_map *:after {
-webkit-transform: none !important;
}
Embed google map is wrong displayed until resizing webpage
I too faced this issue, I solved it by triggering the Google maps resize
event.
google.maps.event.trigger(map, 'resize');
Updates:
var map;
function initializeNewMap() {
// add your code
map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
google.maps.event.trigger(map, 'resize');
}
Hope you understand.
Related Topics
How to Add a Scroll Bar to a Component in React
How to Use CSS? (Not *Learn* But Really *Use*)
Textarea - Disable Resize on X or Y
Glyphicon Works Locally But Not on Heroku
Trying to Do a CSS Transition on a Class Change
Vertical Alignment Based on X-Height
Background Image Stretch Y-Axis Only, Keep Repeat-X
One CSS Declaration for All CSS Font Properties
Why Can't I Decrease The Line-Height of This Text
Internet Explorer Incorrectly Calculates Percentage Height for Generated Content in Td
Getting Image to Stretch a Div
Remove or Add Class in Angular
How to Detect CSS Inheritance Source
Using Proper CSS Media Queries in Angular