Closed jywarren closed 12 years ago
Trying to get this to work at:
http://publiclaboratory.org/map/gowanus-brooklyn-ny-ir/2012-2-13?fullscreen=true
function phptemplate_preprocess_node(&$vars) {
if (module_exists('path')) {
if ($_GET['fullscreen'] == "true") {
$vars['template_files'][] = 'node-map-fullscreen';
}
}
}
Basing this on a combination of
http://drupal.org/node/117491 http://drupal.org/node/139766 (for pages, but has Drupal 5/6 variants)
Not getting it to work though.
http://dev.openlayers.org/releases/OpenLayers-2.11/examples/mobile.html shows the OpenLayers 2.11 mobile interface example
Try that! If it's no slower than this:
then I think we're ready to go with this. I can add it to archive pages as the embed code, and also to MapKnitter, actually.
its fast! (the top link)
haven't been able to get it to show as default yet. more soon.
one bonus feature might be a button for: zoom to fit/refresh
Ok, google by default is working. Ill be adding embed codes to plots and mapknitter soon. On Feb 23, 2012 1:32 PM, "stewart long" < reply@reply.github.com> wrote:
one bonus feature might be a button for: zoom to fit/refresh
Reply to this email directly or view it on GitHub: https://github.com/jywarren/plots/issues/79#issuecomment-4142158
Resolved with addition of embed codes in map pages; fork of embed iframe code at: https://github.com/jywarren/plots-leaflet-viewer
using new openlayers 2.11 or leaflet...