Open GoogleCodeExporter opened 9 years ago
I'd be very open to contributions - if you or someone else can submit a better
set of icons with the same color set, please do!
Original comment by dylankk...@gmail.com
on 27 Jun 2013 at 4:54
Took a stab at it myself as of revision 52f8fce923a5
Original comment by dylankk...@gmail.com
on 29 Dec 2013 at 2:06
Hi there,
really appreciate the always ongoing further development and enhancements :-)
As for this one, it would be great to have an option to switch back to the
previous icons/ markers (without editing the source code), especially if like
with this is will break some designs due to the different sizes of the icons.
In case you consider doing so, I am happy to contribute the required code for
an option/ switch...just let me know!
Thanks for consideration
Original comment by thorsten...@gmail.com
on 15 Sep 2014 at 6:03
It shouldn't be too hard to write custom.js to do it - I would gladly share
that if you can get it going.
Original comment by dylankk...@gmail.com
on 15 Sep 2014 at 7:36
Hi, maybe I am missing a point, but doing this via custom.js requires replacing
quite some (fundamental) functions, like:
GeoMashup.createMap
GeoMashup.addGlowMarker
GeoMashup.colorIcon
GeoMashup.makeMarkerMultiple
Wouldn't it be an option to have a (WordPress-like) filter that
defines/modifies the marker base name...that would even enable using
alternative icon sets?
Original comment by thorsten...@gmail.com
on 24 Sep 2014 at 7:53
Is the API method (like
http://snipplr.com/view/64680/wordpress-geo-mashup-mapstraction-custom-markers/)
not effective?
Original comment by dylankk...@gmail.com
on 25 Sep 2014 at 12:40
Thanks for pointing me that way! I am not sure how I missed that using the API
for some other modifications ;-)
Original comment by thorsten...@gmail.com
on 25 Sep 2014 at 8:03
Actually one icon missing in your example is the "glow marker" - in case you
want to add, see code I use below:
GeoMashup.addAction( 'glowMarkerIcon', function( properties, glow_options ) {
glow_options.icon = properties.custom_url_path + '/images/mm_20_glow.png';
glow_options.iconSize = [ 22, 30 ];
glow_options.iconAnchor = [ 11, 27 ];
} );
Original comment by thorsten...@gmail.com
on 26 Sep 2014 at 9:52
Thanks, I added that to the example snippet!
Original comment by dylankk...@gmail.com
on 29 Sep 2014 at 11:52
Original issue reported on code.google.com by
jamesbondsv
on 27 Jun 2013 at 4:38