To view a map in an image, it must use the functions and structure gglRecupèreCarte gglCoordonnée. In addition a useful function to find the geographic coordinates of a city or address: gglAdresseVersCoordonnées.
To use the google, you must register on the Google site to obtain the indispensable key for card recovery.
Here are few lines of code to achieve this result: cléGoogle is a string = "Your key"
sCoord is gglCoordonnée
sCoord GglAdresseVersCoordonnées = (cléGoogle , SAI_Adresse)
IMG_Image1 GglRécupèreCarte = (cléGoogle, sCoord.Latitude, sCoord.Longitude, 12631408, gglHybride)
Tip: Beware the zoom, it goes from 0 to 19 to 19, however, if google can not provide this level of detail, nothing happens in your window. therefore indicate a normal level of detail.
0 comments:
Post a Comment