List of Adresses in google maps

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
m400mail
New User
Posts: 13
Joined: Wed Nov 19, 2014 3:39 am
First Name: Michael
Last Name: Krautscheid
Company Name: asMika
Contact:

List of Adresses in google maps

Post by m400mail »

Hello to all,

i want to display one or more adresses in my goggle maps iframe.

i have created an example from the puisample programm and it runs with one adress.

can i display more than one ?

For example:
DSPScreen01.Adress = 'Karl-Arnold-Platz 1a+Duesseldorf+40474';

DSPScreen01.MapUrl = 'http://maps.google.com/maps?output=embed&hl=del&q=';
DSPScreen01.MapUrl = %Trimr(DSPScreen01.MapURL) + %trim(DSPScreen01.Adress);


thanks for your help
User avatar
Megan
Profound Logic Staff Member
Posts: 90
Joined: Mon Sep 11, 2017 12:15 pm
First Name: Megan
Last Name: Bond
Company Name: Profound Logic
Phone: 5623227473
State / Province: California
Zip / Postal Code: 92692
Country: United States
Contact:

Re: List of Adresses in google maps

Post by Megan »

Hello Michael,

Because this has to do with Google Maps, you'll need to refer to Google's documentation on it's API and URL construction. The following links may contain some information that may help you.

URL Encoding: https://developers.google.com/maps/docu ... l-encoding

JavaScript Marker Clustering: https://developers.google.com/maps/docu ... clustering

Documentation Start Page: https://developers.google.com/maps/documentation/

Example from https://stackoverflow.com/questions/177 ... oogle-maps:

Code: Select all

http://maps.google.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=14&size=512x512&maptype=roadmap
&markers=color:blue|label:S|40.702147,-74.015794&markers=color:green|label:G|40.711614,-74.012318
&markers=color:red|color:red|label:C|40.718217,-73.998284&sensor=false&key=MAPS_API_KEY
You will need to ensure that special characters are properly encode for the URL when using it.
Pipe characters (|) are encoded as %7C.
Spaces ( ) are encoded with plus signs (+) or %20.
Commas (,) are encoded as %2C.

Depending on what you are looking to achieve, you may find that a JavaScript solution may be better than sending a new request URL to Google Maps each time you want to update the map.

We hope this helps! If you have any questions or concerns, please let us know and we'll be happy to help!

Thanks,
~MEGAN BOND
Technical Support Specialist
support@profoundlogic.com
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests