WARNING: Archival Site
This is an old website that exists for archive purposes only. Visit https://gutensite.com for our real live site, website builder and digital marketing services.
This is an old website that exists for archive purposes only. Visit https://gutensite.com for our real live site, website builder and digital marketing services.
I recently discovered that the custom markers on a Google Map I created (http://www.parkcirca.com/Parking) were being hidden behind the the map tiles (this is fixed now). If you look at the first image in the slideshow, you can clearly see the edge of the grid where the markers are being cut off.
We are using Google's latest Google Maps API Version 3.8. We discovered that this is caused by the new Canvas tiles that are used to optimize how Google Maps display. If you inspect elements, you can see that the markers are actually tile layers. If I turn off 'optimized' (see code below) the markers display correctly!
var point = new google.maps.Marker({
'position': position,
'map': this.options.map.construct,
'icon': marker_data.custom_icon,
'title': marker_data.title,
'optimized': false
});
What is interesting is that if you use the default markers, the tiles do NOT hide the default markers (code below).
var point = new google.maps.Marker({
'position': position,
'map': this.options.map.construct,
'title': marker_data.title
});
The reason for this, is because somehow Google seems to be creating the canvases differently for their default markers. When a marker overlaps a tile they make sure that part of it shows up on each adjacent canvas.
I inspected the elements and deleted certain tiles, and you can see that the other half of the default marker still is shows up on the adjacent tile.
Does anyone knows a better solution? Or can you point out something I am doing wrong that is causing Google Maps API to treat my custom markers inferior? Or is this just a known/new bug?
Common Questions about Migrating Your Website from 1.0 to 2.0
Upgrade Your Old Website to Prevent Lawsuits and Improve Marketing
The New Gutensite Website is Live on Our New Platform!
ADA Compliance and Website Accessibility Standards
New IDX Widget Going Live for Everyone
Jan | Feb | Mar | Apr |
May | Jun | Jul | Aug |
Sep | Oct | Nov | Dec |
Jan | Feb | Mar | Apr |
May | Jun | Jul | Aug |
Sep | Oct | Nov | Dec |
Jan | Feb | Mar | Apr |
May | Jun | Jul | Aug |
Sep | Oct | Nov | Dec |
Jan | Feb | Mar | Apr |
May | Jun | Jul | Aug |
Sep | Oct | Nov | Dec |
Jan | Feb | Mar | Apr |
May | Jun | Jul | Aug |
Sep | Oct | Nov | Dec |
Jan | Feb | Mar | Apr |
May | Jun | Jul | Aug |
Sep | Oct | Nov | Dec |
Jan | Feb | Mar | Apr |
May | Jun | Jul | Aug |
Sep | Oct | Nov | Dec |
Jan | Feb | Mar | Apr |
May | Jun | Jul | Aug |
Sep | Oct | Nov | Dec |
Jan | Feb | Mar | Apr |
May | Jun | Jul | Aug |
Sep | Oct | Nov | Dec |
Jan | Feb | Mar | Apr |
May | Jun | Jul | Aug |
Sep | Oct | Nov | Dec |
Jan | Feb | Mar | Apr |
May | Jun | Jul | Aug |
Sep | Oct | Nov | Dec |
Jan | Feb | Mar | Apr |
May | Jun | Jul | Aug |
Sep | Oct | Nov | Dec |
Jan | Feb | Mar | Apr |
May | Jun | Jul | Aug |
Sep | Oct | Nov | Dec |
Jan | Feb | Mar | Apr |
May | Jun | Jul | Aug |
Sep | Oct | Nov | Dec |
Jan | Feb | Mar | Apr |
May | Jun | Jul | Aug |
Sep | Oct | Nov | Dec |
—Trevor Tice
Owner