Reputation: 719
Is it possible to bring some changes in google map info window through it's iframe url?
For instance, adding “&iwloc=near”
to the end of the following iframe src url remove the info window from the google map.
<iframe width=”300″ height=”300″ frameborder=”0″ scrolling=”no” marginheight=”0″
marginwidth=”0″
src=”http://maps.google.co.uk/maps?f=q&source=s_q&hl=en&geocode=&q=cb22+7np&sll=52.127428,0.16816&sspn=0.22552,0.676346&ie=UTF8&hq=&hnear=Harston+CB22+7NP,+United+Kingdom&t=k&ll=52.138335,0.073814&spn=0.015804,0.025749&z=14&output=embed”>
</iframe>
Can anyone tell which attributes in the above iframe url are responsible for displaying the tick marked links in the info window of the following image?
In code view this links are wrapped in a ul
class named .actbar-list
.
Is it possible to remove these links or manage these links open in new windows by editing the iframe url?
Upvotes: 0
Views: 5314
Reputation: 1269
No, it doesn't look like the parts of InfoWindow
, you ticked, can be changed.
iwloc
, iwd
, iwstate1
are the parameters that seem to have any control over the InfoWindow
. But these parameters don't seem to control the elements you highlighted in the image. These parameters are not publicly documented anymore. Third party link here.
But if you are using dynamic google maps APIv3, it might be possible to tailor an InfoWindow yourself while click event on Marker is detected.
But if you are creating a map view using the dynamic API, you would have already known that.
Here's a link to the Google Maps Dynamic API page: https://developers.google.com/maps/documentation/javascript/reference
Upvotes: 1