I have this code, It can't work by my think. map.addMarker({ 'position': latlon, //'icon': "/sp2/img/tenpo/map_marker_60x52_normal.png", 'icon': 'www/img/tenpo/map_marker_60x52_normal.png' }, function (marker) { marker.setIcon({ 'url': 'www/img/tenpo/map_marker_60x52_select.png' }); marker.setTitle(tenpoStr); marker.showInfoWindow(); alert('me'); });
*showInfoWindow can't view.* please help me. 2014年1月6日月曜日 10時02分21秒 UTC+9 Masashi.K: > > Hi JavaScripters! > > I created an interesting plugin for PhoneGap / Cordova! > As you may know, PhoneGap / Cordova are JavaScript framework for mobile > application. > > This plugin helps you to control Google Maps mobile SDK from your > JavaScript code. > For example, you can add a marker like this code: > > map.addMarker({ > 'position': STATUE_OF_LIBERTY, > 'title': "Statue of Liberty"}, function(marker) { > marker.showInfoWindow();}); > > > <https://lh4.googleusercontent.com/-drLpcwSjcpU/Usn_8qTk04I/AAAAAAAAQdw/L0T8lXjOlQk/s1600/marker1.png> > > You can also add Polyline, Polygon, Circle, GroundOverlay, and TileOverlay. > > > <https://lh5.googleusercontent.com/-lKFgb0Sut08/UsoATLvKuqI/AAAAAAAAQd4/f_wxpxKuur0/s1600/overlays.png> > If you are interested in this, check it out! > https://github.com/wf9a5m75/phonegap-googlemaps-plugin > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at http://groups.google.com/group/google-maps-js-api-v3. For more options, visit https://groups.google.com/d/optout.