{"id":460,"date":"2008-04-19T11:59:15","date_gmt":"2008-04-19T09:59:15","guid":{"rendered":"http:\/\/www.navision-blog.de\/?p=460"},"modified":"2008-05-17T13:22:36","modified_gmt":"2008-05-17T11:22:36","slug":"flickr-anbindung-an-google-maps","status":"publish","type":"post","link":"http:\/\/www.navision-blog.de\/blog\/2008\/04\/19\/flickr-anbindung-an-google-maps\/","title":{"rendered":"Flickr Anbindung an Google Maps"},"content":{"rendered":"<p>Da ich meine <a href=\"http:\/\/www.navision-blog.de\/2008\/04\/17\/navision-blogde-wurde-ziel-eines-hackerangriffs\/\">Coppermine Gallery aufgrund von Sicherheitsproblemen deinstalliert<\/a> habe, habe ich begonnen meine <a href=\"http:\/\/www.navision-blog.de\/2007\/04\/17\/beta-tester-for-googlemaps-wordpress-plugin-wanted\/\">Google Maps Plugin<\/a> an <a href=\"http:\/\/www.flickr.com\/photos\/25191666@N02\/\">Flickr<\/a> anzubinden. Hier ein erster Versuch:<\/p>\n<p><br \/>\n<b>Warning<\/b>:  Creating default object from empty value in <b>\/www\/htdocs\/w007928a\/blog\/wp-content\/plugins\/wp-referencesmap\/GoogleMapsWrapper.php<\/b> on line <b>71<\/b><br \/>\n\n<div id=\"map8078\" style=\"width: 500px; height: 500px\">\n<\/div>\n      <script type=\"text\/javascript\">\n\t    \/\/<![CDATA[\n\t    \n\t\t\n      var map8078 = null;\n      var geoXML8078_0 = null;\n      var mgr8078 = null;      \t\t      \t\t\n      \n      function initMarker(image,shadow) { \n        var icon = new GIcon();\n        icon.image = image;\n        icon.shadow = shadow;\n        icon.iconSize = new GSize(12, 20);\n        icon.shadowSize = new GSize(22, 20);\n        icon.iconAnchor = new GPoint(6, 20);\n        icon.infoWindowAnchor = new GPoint(5, 1);\n        return icon;\n      }\t\t\n      \n      \/\/ Creates a marker at the given point with the given number label\n      function createMarker(point, markerIcon, htmltext, drag) {  \n        var marker = new GMarker(point, {icon: markerIcon, draggable: drag});  \n        \n        GEvent.addListener(marker, \"click\", function() {\n          marker.openInfoWindowHtml(htmltext);\n        });\n          \n        if(drag)\n        {  \n          GEvent.addListener(marker, \"dragstart\", function() {\n  \t\t\t    map.closeInfoWindow();\n  \t\t\t  });\n  \t\t\t\n  \t\t\t  GEvent.addListener(marker, \"dragend\", function() {\n    \t\t\t  document.getElementById('rmap_AddLatitude').value = marker.getPoint().lat();\n  \t  \t\t  document.getElementById('rmap_AddLongitude').value = marker.getPoint().lng();\n  \t\t  \t});\n  \t\t  }\n\t\t\t\n        return marker;\n      } \n      \n      function setupMarkers8078() {\n        mgr8078 = new GMarkerManager(map8078);\n        var batch = [];\n\n         \n        mgr8078.addMarkers(batch, 1);\n        mgr8078.refresh();\n     }\n\n             \n    \taddLoadEvent(function() {\n    \t\tif (GBrowserIsCompatible()) {    \t\t  \n      \t\tmap8078 = new GMap2(document.getElementById(\"map8078\"));\n                         \n      \t  geoXML8078_0 = new GGeoXml(\"http:\/\/api.flickr.com\/services\/feeds\/geo\/?id=25191666@N02&format=rss_200&georss=1\",\n              function() {\n                  if (geoXML8078_0.loadedCorrectly()) {\n                    geoXML8078_0.gotoDefaultViewport(map8078);\n                    map8078.setCenter(geoXML8078_0.gotoDefaultCenter(),12);                    \n                  }\n               });\nmap8078.addOverlay(geoXML8078_0);\n          map8078.setCenter(new GLatLng(51.481323,11.98053),12);          \n      \t  map8078.setMapType(G_NORMAL_MAP);\n      \t  map8078.addControl(new GSmallMapControl());\n      \t  map8078.addControl(new GMapTypeControl());\n       \t  window.setTimeout(setupMarkers8078, 0); \n       \t  window.setTimeout(setupPolygones8078, 0); \n        }\n\t\t  });\n\t\t  \n\t\t  window.unload = GUnload;\n          \/\/]]> \n    \t<\/script>\n    \t<noscript>\n    \tWP-Referencesmap-Plugin for WordPress. See <a href=\"http:\/\/www.navision-blog.de\">www.navision-blog.de<\/a>\n    \tif you have any problems with the plugin.\n    \t<\/noscript>\n    <\/p>\n<p><a href=\"http:\/\/www.flickr.com\/photos\/25191666@N02\/2437579553\/\" title=\"don't worry be curry von forki23 bei Flickr\"><img loading=\"lazy\" src=\"http:\/\/farm3.static.flickr.com\/2265\/2437579553_f6f644d651.jpg\" width=\"500\" height=\"375\" alt=\"don't worry be curry\" class=bordered \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Da ich meine Coppermine Gallery aufgrund von Sicherheitsproblemen deinstalliert habe, habe ich begonnen meine Google Maps Plugin an Flickr anzubinden. Hier ein erster Versuch: Warning: Creating default object from empty value in \/www\/htdocs\/w007928a\/blog\/wp-content\/plugins\/wp-referencesmap\/GoogleMapsWrapper.php on line 71 WP-Referencesmap-Plugin for WordPress. See www.navision-blog.de if you have any problems with the plugin.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[35],"tags":[115,391,388,392],"_links":{"self":[{"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/posts\/460"}],"collection":[{"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/comments?post=460"}],"version-history":[{"count":0,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/posts\/460\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/media?parent=460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/categories?post=460"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/tags?post=460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}