Google Maps: Change default Embedded mapTypeId or use controls from Embedded API map on Javascript API map? -


neither embedded api nor javascript api versions of google maps behave how i'd like, please help.

the embedded api doesn't allow me set default map view hybrid through url parameters. i've tried using &t=h blacks out map.

the javascript api version doesn't allow me set default controls same overlay embedded version uses. specifically, i'd address , link directions display on map (the control element in upper left corner of embedded api map). see pictures more clarification.

so question: possible change default map type of embedded api google map 'hybrid' using method? please provide complete link example if demonstrating '&t=h' (does parameter need in location in url, ie. before/after other parameter?).

or

is possible use control overlay embedded api google map on javascript api google map?

embedded api (desired controls, wrong default maptypeid) enter image description here

javascript api (desired default maptypeid, wrong controls) enter image description here

success!

using embedded api, '&maptype=satellite' work instead of '&t=h'.


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -