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.

[1] https://code.google.com/p/google-maps-utility-library-v3/source/browse/trunk/canvaslayer/src/canvaslayer.js

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

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

java.util.scanner - How to read and add only numbers to array from a text file -

iphone - Three second countdown in cocos2d -