 TwisterSolutions
|
I am currently working on a widget/plugin to allow a googlemap of the company or contacts via some php widget coding and google api.
Has anyone had any experience of this before I jump into it any further?
|
 fiscal sanity
|
This would be a great plugin! We’ve had requests for this, just haven’t had the time to build. My recommendation:
-Use one of the existing WP plugins as a base:
http://wordpress.org/extend/plugins/tags/google-maps
-Use our “Twitter Tweets for RoloPress” plugin as a reference.
http://rolopress.com/plugins/twitter-tweets-for-rolopress
-Use our core function “rolo_type_is” to determine if a contact or company is showing. You will see an example of this in the Twitter Tweets plugin around line 99:
http://github.com/rolopress/twitter-tweets-for-rolopress/blob/master/twitter-tweets-for-rolopress.php
-Copy our existing full address code for companies and contacts. Look at lines 75 and 199 in:
http://github.com/rolopress/rolopress-core/blob/master/library/functions/template-functions.php
Hope that helps. Feel free to post other questions, and keep us updated on your progress.
Steve
|
 fiscal sanity
|
Google Maps for RoloPress in now a plugin!
http://rolopress.com/google-maps-for-rolopress
|