Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi,
I have used scatter chart to build a google map, where I have to use pushpin instead of small rounded image. So how to do that?
For adding pins you can use this code in your dynamic image:
'&markers=size:mid|color:red|32.9440120,-85.9538532' &
I did it for just one spot, but you can make it dynamic by using a concat function on Latitude & longitude and separate each of them with a pipe (|)
you can specify 3 sizes: mid, tiny, and I think the third is big or large and there are different color's available too...
I hope this will help (PFA)
Best,
Sunny !
Can u give me an sample application, so that I can view how it is implemented?
I did attach the Google Map.qvw back with my previous post. Did you look at it?
I think you are looking for this? Are you not?
Best,
Sunny
Hi,
I have used this ones
='http://maps.google.com/maps/api/staticmap?center='
&
num(var_mid_lat, '##############', '.', ',' )
&
','
&
num(var_mid_long, '##############', '.', ',' )
&
'&zoom=$(var_zoom)'&
'&markers=size:mid|color:red|'&var_mid_lat&','&var_mid_long
&
'&maptype='&var_maptype
&
'&size='&map_size_x&'x'&map_size_y
&
'&Client=gme-cushmanwakefield&sensor=false&.jpg'
But still did not get push pin for every marks on the map, so it only show one push pin. How can I show pushpin for each and every red spot on the map?
You will need to create a variable:
vVar = Concat(latitude & ', ' & longitude, '|')
and then use it something like this:
'&markers=size:mid|color:red|'& vVar (or $(vVar)) & Chr(39) &
The idea is to provide a list of latitude and longitude to markers in this form 'Lat1, Long1|Lat2, Long2|Lat3, Long3'
I have a busy day today otherwise would have helped you in the implementation in the sample data.
HTH
Best,
Sunny
It does not work.please give me an QVW file for that. Otherwise it does not under stable to me.
Will work on a dummy file and send it to you in next couple of days
Best,
Sunny
Can u give me to me tomorrow. I have to show it to my clients.
I will work on this today, I hope I am not too late and will post it as soon as I am something.
Best,
Sunny