Note that there are some explanatory texts on larger screens.

plurals
  1. POGoogle Map Click Event Issue with Kohana PHP
    primarykey
    data
    text
    <p>So this gets auto generated through the controller and I think I'm just overlooking something but the output is just like this</p> <hr> <pre><code>google.load("maps", "2.x", {"language" : "en"}); function initialize() { if (GBrowserIsCompatible()) { // Initialize the GMap var map = new google.maps.Map2(document.getElementById("map")); map.addControl(new google.maps.SmallMapControl()); map.setCenter(new google.maps.LatLng(30.226632, -97.935056), 10, G_NORMAL_MAP); // Build custom marker icons var tinyIcon = new google.maps.Icon(); tinyIcon.image = "http://labs.google.com/ridefinder/images/mm_20_red.png"; tinyIcon.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png"; tinyIcon.iconSize = new google.maps.Size(12,20); tinyIcon.shadowSize = new google.maps.Size(22,20); tinyIcon.iconAnchor = new google.maps.Point(6,20); tinyIcon.infoWindowAnchor = new google.maps.Point(5,1); // Show map points var m1 = new google.maps.Marker(new google.maps.LatLng(35.2602340, -93.7939480), {icon:tinyIcon,bouncy:1}); google.maps.Event.addListener(m1, "click", function() { m1.openInfoWindowHtml( '1&lt;br /&gt;test,TX' ); }); map.addOverlay(m1); var m2 = new google.maps.Marker(new google.maps.LatLng(35.2810510, -93.8246510), {icon:tinyIcon,bouncy:1}); google.maps.Event.addListener(m2, "click", function() { m2.openInfoWindowHtml( 'test&lt;br /&gt;test,Texas' ); }); map.addOverlay(m2); } google.setOnLoadCallback(initialize); </code></pre> <hr> <p>So when i go to use a trigger event</p> <p>google.maps.event.trigger(markers[m3], 'click');</p> <p>Nothing happens, and I cant figure out the correct trigger to make it do so...</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload