I just followed any suggestion at this link http://code.google.com/p/wordpress-geo-mashup/
but I think that custom.js file doesn't load correctly.
I use Google Maps V3 ..this is the link of my temp site http://www.kickproduction.it/grupporem/
So this is the situation.
I have 5 categories, each one have a color on the map, now i need to change some markers, image and width/height, i would change:
-Single post map marker
-Category marker
-Category Mix marker in this way:
if is category A + category B > marker_ab.png
if is category A + category C > marker_ac.png
if is category B + category C > marker_bc.png
that's all. help me !
I've installed geo-mashup-custom plugin and activated
I created geo-mashup-custom directory
I created custom.js in geo-mashup-custom directory
I tryed [[LINK href="http://wiki.geo-mashup.org/guides/google-v2-versus-v3-mapstraction-examples"]]this code[[/LINK]]
and [[LINK href="http://snipplr.com/view/64680/"]]this code[[/LINK]]
and [[LINK href="http://code.google.com/p/wordpress-geo-mashup/issues/attachmentText?id=292&aid=-1023398773758868427&name=custom-sample.js&token=7ad74748ef26be4330203233fdb53923"]]this code[[/LINK]]
Arnav Joy answers:
study this
http://code.google.com/p/wordpress-geo-mashup/wiki/Documentation
APIs For Developers
try using this one of the plugin
wordpress-geo-mashup.googlecode.com/files/geo-mashup-custom-1.0.zip
Daniele Raimondi answers:
You can give a try to [[LINK href="http://wiki.geo-mashup.org/guides/another-custom-field-and-marker-example"]]this[[/LINK]] code. In that case it uses a custom field to chose the relative marker. Just try to modifiy the code to detect the post category and setup the right marker.
Dylan Kuhn answers:
Is the geo-mashup-custom plugin activated?
That's the only reason I can come up with that your custom.js doesn't load. If it is active, I'd like to see the output of this template code to debug:
global $geo_mashup_custom;
var_dump( $geo_mashup_custom->files );
Martin Pham answers:
Please make sure this url of custom.js :
http://www.kickproduction.it/wp-content/plugins/geo-mashup-custom/custom.js
Martin Pham comments:
when you active geo_mashup_custom plugin. Render_map init will be check custom-mxn.js, custom-{api-ver}.js, and custom.js in location <strong>/wp-content/plugins/geo-mashup-custom/</strong>
Manlio Ma comments:
Thanks martin, now it is loaded !!
ok no problem for single and category marker....
do you know how to render thi situation ??
-Category Mix marker in this way:
if is category A + category B > marker_ab.png
if is category A + category C > marker_ac.png
if is category B + category C > marker_bc.png
Martin Pham comments:
OK, i can help you. Please me write script :)
Manlio Ma comments:
ok this is the code http://www.kickproduction.it/grupporem/wp-content/plugins/geo-mashup-custom/custom.js
Manlio Ma comments:
Thank you Martin ..your code is perfect !!
Very good job!