New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IFRAME replacement #257
Comments
Original comment by
|
Original comment by |
Original comment by |
Has anyone come up with a method for displaying maps that doesn't involve iframes? Perhaps if we could use file_get_contents or CURL somehow as a kludge? For example, I wish this sort of thing would work with Geo Mashup: ...but sadly it just returns "WordPress transients may not be working. Try deactivating or reconfiguring caching plugins. issue 425". However I'm not doing any caching. In my case something like this would be great because I'm using WP JSON API to pull data into my AngularJS / Ionic app. I'm using posts to display all sorts of data in lists and views, and then using maps of posts with geolocation to allow users to explore the data geographically, since the data relates to events happening around them in real time as they use the app. Geo Mashup cooperates pretty well as-is, however because the maps are in iframes there are several levels of interaction with the app that I'm unable to accomplish. Any working method to display the maps without iframes would be amazing, no matter how dirty! |
@sunylyons you should be able to bypass the transient lookup by removing the map_data_key parameter. |
@sunylyons did you ever get this working? I have an issue which is quite a bit simpler that still makes it tough to use geo mashup. I am creating an image overlay layer out of a historical map. I would like to add a slider that adjusts the opacity of htat layer, but I can't get access to the relevant variable from the parent frame context. Maybe there's a solution already? |
@titaniumbones you can see here how geo mashup renders a widget like a term legend in the parent frame: https://github.com/cyberhobo/wordpress-geo-mashup/blob/master/js/taxonomy.js#L61 |
Thank you @cyberhobo. It's a little beyond me but I'm getting close to undertanding what's going on. |
Original issue reported on code.google.com by
urso...@gmail.com
on 12 Sep 2009 at 6:53The text was updated successfully, but these errors were encountered: