[PLUGIN] Google Map

Post your completed addons to share with the community

Post » Fri Jan 29, 2016 9:10 pm

How can users changes the basic Icons in this plugin "google map"?
B
32
S
9
G
6
Posts: 1,467
Reputation: 7,951

Post » Mon Apr 25, 2016 12:27 pm

How to Change the SCALES of the Google map markers?
The google map updated by Rex
i see the options icon scaled width -1 for the Marker object by REX but if i change that number my icon marker doesn't show anymore

SOLVED by changing the default size -1 to 71.
-1 represent the ORIGINAL size of your icons and 71 seems to be the default google map markers sizes
B
32
S
9
G
6
Posts: 1,467
Reputation: 7,951

Post » Mon Apr 25, 2016 9:43 pm

imothep85 wrote:How can users changes the basic Icons in this plugin "google map"?


You can do so by editing the plugin ( I don't think it has it natively).

For example:

Code: Select all
var image = 'https://developers.google.com/maps/documentation/javascript/examples/full/images/beachflag.png';
  var beachMarker = new google.maps.Marker({
    position: {lat: -33.890, lng: 151.274},
    map: map,
    icon: image
  });


If you want to just edit all markers, it is simple. If you want to edit them via the event sheets, there is a little more to it.
B
31
S
12
G
7
Posts: 413
Reputation: 6,866

Post » Sun Jul 17, 2016 7:34 am

Any geocoder?
B
14
S
3
Posts: 57
Reputation: 879

Post » Sun Jul 17, 2016 8:16 am

@aviata

rex_geocoding
B
97
S
22
G
178
Posts: 4,118
Reputation: 104,043

Post » Tue Jul 26, 2016 4:14 am

rexrainbow wrote:@aviata

rex_geocoding

is it usable in intelxdk?
B
14
S
3
Posts: 57
Reputation: 879

Post » Tue Jul 26, 2016 4:46 am

@aviata

I did not test in any mobile wrapper, sorry.
B
97
S
22
G
178
Posts: 4,118
Reputation: 104,043

Post » Wed Aug 10, 2016 7:02 am

Wow, thank you for making this... it works like a charm :)
B
35
S
12
G
1
Posts: 85
Reputation: 2,965

Post » Wed Aug 24, 2016 11:58 am

Hi,

I have just updated this plugin marginally so you can add an URL to specify the map marker, and you can use a single character for a label as per the googleMaps API. If you do not specify an URL to an image file, or the URL is invalid then the standard marker will be used. The images obviously have to be stored on a webserver of some kind, but you can modify what image is loaded on the fly from within construct 2 event pages.
you can download it from here http://tapcom.co.uk/plugins/GoogleMap.zip

I have compiled it with XDK and got a working apk from it and it works fab with the geolocation plugin. Not sure about any other IDKs. 'though.

Let me know if its useful to anyone?? :D
B
6
S
1
Posts: 1
Reputation: 302

Previous

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 0 guests