Google Maps Plugin for PhoneGap

3,349 views
Skip to first unread message

Masashi.K

unread,
Jan 5, 2014, 8:02:21 PM1/5/14
to google-map...@googlegroups.com
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();
});


You can also add Polyline, Polygon, Circle, GroundOverlay, and TileOverlay.

If you are interested in this, check it out!

Carlos Montelongo

unread,
Jan 5, 2014, 8:28:28 PM1/5/14
to google-map...@googlegroups.com
Awsome! Thanks buddy


2014/1/5 Masashi.K <wf9a...@gmail.com>

--
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-a...@googlegroups.com.
To post to this group, send email to google-map...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-maps-js-api-v3.
For more options, visit https://groups.google.com/groups/opt_out.

Nianwei Liu

unread,
Jan 6, 2014, 5:32:50 AM1/6/14
to google-map...@googlegroups.com
very nice!

许亚军

unread,
Sep 17, 2015, 5:02:23 AM9/17/15
to Google Maps JavaScript API v3
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:
Reply all
Reply to author
Forward
0 new messages