javascript - canvas layer ordering in google maps -
google maps utility library comes full map canvas overlay[1] pretty useful create canvas based visualizations or custom layers (instead of tiled based ones)
the problem canvaslayer based on overlayview , has on top of map layers. questions are:
- is there way place overlay in between 2 layers (i.e tiled layers) ?
- is there better way implement full map canvas layer can managed in same way other layers are? (using overlaymaptypes).
for sure there nasty hacks can done changing dom sort layers , overlays i'd prefer in way won't break when internal implementation changed.
i'm not sure mean "map-layers" , when mean mappanes :
a canvaslayer not placed on top of mappanes, default it's placed in overlaylayer-pane(which 2nd lowest pane of 7 mappanes).
but must not placed there, may place want using panename-option of canvaslayeroptions(set valid mappanes-name)
Comments
Post a Comment