PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Map Marker
Map Marker
Started by Mister RUAN, Apr., 18 2017 3:10 PM - 1 reply
Connect yourself…
Mister RUAN
#1
Registered member
208 messages
Popularité : +1 (1 vote)
Posted on April, 18 2017 - 3:10 PM
Good Day
Is there a way to add a marker on the map without the Lat & Long info. I want it to add a marker from only the address and by doing that return the LAT & LONG. Tried using MapAddMarker but needs LAT & LONG.
Thanks
Ruan
Report
0
0
Mister RUAN
#2
Registered member
208 messages
Popularité : +1 (1 vote)
Posted on April, 19 2017 - 10:42 AM
I managed to get this right doing this.
MyZoom
is int
=
12
Latitude
,
Longitude
are reals
Localization
is gglCoordinate
MyPosition
is geoPosition
Localization
=
GglAddressToCoordinates
(
"12 William Nicol Drive, Sandton"
)
Latitude
=
Localization
..
Latitude
Longitude
=
Localization
..
Longitude
MyPosition
..
Latitude
=
Latitude
MyPosition
..
Longitude
=
Longitude
MyMarker
is Marker
MyMarker
..
Position
=
MyPosition
MapAddMarker
(
MAP_
NoName3
,
MyMarker
)
MapDisplayPosition
(
MAP_
NoName3
,
MyPosition
)
MAP_
NoName3
..
Zoom
=
MyZoom
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text