Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
i wanted to know how to add the sattlite option in the google map , i have implemented the google map .
Thanks ,
Kane
set field maptype as 'satellite'.
You can change from list box of variable maptype.
Regards
When you have the following code for the map:
='http://maps.google.com/maps/api/staticmap?center=' & num(var_mid_lat, '##############', '.', ',' ) & ',' & num(var_mid_long, '##############', '.', ',' ) & '&zoom=$(var_zoom)' & '&maptype='&var_maptype & '&size='&map_size_x&'x'&map_size_y & '&key='& 'AIzaSyAABZIVacmXaH_m5XNM2PzcJo3uDr12Rzk' & '&sensor=false'
You have a variable called var_maptype.
Use the following inline statement in your load script:
maptype:
LOAD * INLINE [
maptype
roadmap
mobile
satellite
terrain
hybrid
];
Then you can use a listbox with the maptype field and create a variable var_maptype with the following formula:
=if(isnull(only(maptype)),fieldvalue( 'maptype', 1 ),maptype)
Hope this helps.
Greetings,
Marc
Maptype is a field in inline of script (see script).
The expression of 'Colors' of object map contains maptype.
You select value of maptype in 'satellite'.
You create object list box of field maptype and you select value.
Regards,
Antonio
Hi Antonio
iam sending u my file could u plz look into this ,
Thanks .
Kane
you create object input for variable "var_maptype" and set value 'satellite' in this.
Antonio
Thanku sir ,
its working now