{"id":117,"date":"2009-07-04T15:10:19","date_gmt":"2009-07-04T14:10:19","guid":{"rendered":"https:\/\/www.entropywins.wtf\/blog\/?p=117"},"modified":"2009-07-04T15:10:19","modified_gmt":"2009-07-04T14:10:19","slug":"semantic-maps-yahoo-maps-query-printer","status":"publish","type":"post","link":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/","title":{"rendered":"Semantic Maps &#8211; Yahoo Maps query printer"},"content":{"rendered":"<p>Last 2 days I continued working on the query printers of <a href=\"http:\/\/www.mediawiki.org\/wiki\/Extension:Semantic_Maps\" target=\"_blank\">Semantic Maps<\/a>. I started of with creating a new abstract class, called SMMapPrinter, which inherits from SMWResultPrinter, and contains the common code of all QP&#8217;s in SM. It has one protected field, $m_locations, which obviously is an array holding all locations, and 3 functions. One public abstract getName(), one public getResult, and one protected getResultText. The last function does the work of putting all the locations into the $m_locations field, and so allows me to omit this in every QP inheriting from this class. Another small thing this function does is setting the default map parameters, using MapsUtils::setDefaultParValues.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-119\" title=\"Semantic Maps showing a Yahoo! Map with queried coordinates\" src=\"https:\/\/www.entropywins.wtf\/blog\/wp-content\/uploads\/2009\/07\/sm-ymap-qp-sattelite.gif\" alt=\"Semantic Maps showing a Yahoo! Map with queried coordinates\" width=\"606\" height=\"224\" \/><\/p>\n<p>Map code:<em> {{#ask:[[Category:Locations]]|?Has coordinates|format=yahoomap|<em>width=610|height=500<\/em>}}<\/em><\/p>\n<p>After this was done I adapted the <a href=\"http:\/\/code.google.com\/apis\/maps\/\" target=\"_blank\">Google Maps<\/a> QP to work with it, and started work on the Yahoo Maps query printer. I did some reading in the Yahoo! Maps documentation on how to exactly place markers that allow the display of a text balloon after being clicked, which are called &#8216;smart markers&#8217; in the <a href=\"http:\/\/developer.yahoo.com\/maps\/ajax\/\" target=\"_blank\">Yahoo! Maps API<\/a>. I got everything working (displaying all markers, the balloons and links in them and the map properties), except the automatic centre and zoom of the map to display all coordinates. I&#8217;ve got the code for this, it&#8217;s isn&#8217;t giving any errors, but for some reason isn&#8217;t working either. The map just centres on the first coordinate. I&#8217;m going to have another look at this tomorrow, but if I can&#8217;t find it, I&#8217;ll just start with implementing <a href=\"http:\/\/code.google.com\/apis\/earth\/\" target=\"_blank\">Google Earth<\/a> or <a href=\"http:\/\/openlayers.org\" target=\"_blank\">Open Layers<\/a> in <a href=\"http:\/\/www.mediawiki.org\/wiki\/Extension:Maps\" target=\"_blank\">Maps<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last 2 days I continued working on the query printers of Semantic Maps. I started of with creating a new&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7],"tags":[115,136,154,156,181,195,227,231,285,300],"class_list":["post-117","post","type-post","status-publish","format-standard","hentry","category-programming","tag-gsoc","tag-javascript","tag-mapping","tag-mediawiki","tag-open-source","tag-php","tag-semantic-maps","tag-semantics","tag-wikimedia","tag-yahoo-maps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Semantic Maps - Yahoo Maps query printer - Blog of Jeroen De Dauw<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Semantic Maps - Yahoo Maps query printer - Blog of Jeroen De Dauw\" \/>\n<meta property=\"og:description\" content=\"Last 2 days I continued working on the query printers of Semantic Maps. I started of with creating a new&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog of Jeroen De Dauw\" \/>\n<meta property=\"article:published_time\" content=\"2009-07-04T14:10:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.entropywins.wtf\/blog\/wp-content\/uploads\/2009\/07\/sm-ymap-qp-sattelite.gif\" \/>\n<meta name=\"author\" content=\"Jeroen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/JeroenDeDauw\" \/>\n<meta name=\"twitter:site\" content=\"@JeroenDeDauw\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeroen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/2009\\\/07\\\/04\\\/semantic-maps-yahoo-maps-query-printer\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/2009\\\/07\\\/04\\\/semantic-maps-yahoo-maps-query-printer\\\/\"},\"author\":{\"name\":\"Jeroen\",\"@id\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/#\\\/schema\\\/person\\\/4e2ef14f2ca7dc3a0ac137d1692b66b7\"},\"headline\":\"Semantic Maps &#8211; Yahoo Maps query printer\",\"datePublished\":\"2009-07-04T14:10:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/2009\\\/07\\\/04\\\/semantic-maps-yahoo-maps-query-printer\\\/\"},\"wordCount\":278,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/#\\\/schema\\\/person\\\/4e2ef14f2ca7dc3a0ac137d1692b66b7\"},\"image\":{\"@id\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/2009\\\/07\\\/04\\\/semantic-maps-yahoo-maps-query-printer\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/wp-content\\\/uploads\\\/2009\\\/07\\\/sm-ymap-qp-sattelite.gif\",\"keywords\":[\"GSoC\",\"JavaScript\",\"Mapping\",\"MediaWiki\",\"Open Source\",\"PHP\",\"Semantic Maps\",\"Semantics\",\"Wikimedia\",\"Yahoo! Maps\"],\"articleSection\":[\"Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/2009\\\/07\\\/04\\\/semantic-maps-yahoo-maps-query-printer\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/2009\\\/07\\\/04\\\/semantic-maps-yahoo-maps-query-printer\\\/\",\"url\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/2009\\\/07\\\/04\\\/semantic-maps-yahoo-maps-query-printer\\\/\",\"name\":\"Semantic Maps - Yahoo Maps query printer - Blog of Jeroen De Dauw\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/2009\\\/07\\\/04\\\/semantic-maps-yahoo-maps-query-printer\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/2009\\\/07\\\/04\\\/semantic-maps-yahoo-maps-query-printer\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/wp-content\\\/uploads\\\/2009\\\/07\\\/sm-ymap-qp-sattelite.gif\",\"datePublished\":\"2009-07-04T14:10:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/2009\\\/07\\\/04\\\/semantic-maps-yahoo-maps-query-printer\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/2009\\\/07\\\/04\\\/semantic-maps-yahoo-maps-query-printer\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/2009\\\/07\\\/04\\\/semantic-maps-yahoo-maps-query-printer\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/wp-content\\\/uploads\\\/2009\\\/07\\\/sm-ymap-qp-sattelite.gif\",\"contentUrl\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/wp-content\\\/uploads\\\/2009\\\/07\\\/sm-ymap-qp-sattelite.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/2009\\\/07\\\/04\\\/semantic-maps-yahoo-maps-query-printer\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Semantic Maps &#8211; Yahoo Maps query printer\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/\",\"name\":\"Entropy Wins\",\"description\":\"A blog on Software Architecture, Design and Craftsmanship\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/#\\\/schema\\\/person\\\/4e2ef14f2ca7dc3a0ac137d1692b66b7\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.entropywins.wtf\\\/blog\\\/#\\\/schema\\\/person\\\/4e2ef14f2ca7dc3a0ac137d1692b66b7\",\"name\":\"Jeroen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d62e6b5b8e332335cf17854fac850d9c70ba367c4692872613c3110ebd4e009b?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d62e6b5b8e332335cf17854fac850d9c70ba367c4692872613c3110ebd4e009b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d62e6b5b8e332335cf17854fac850d9c70ba367c4692872613c3110ebd4e009b?s=96&d=mm&r=g\",\"caption\":\"Jeroen\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d62e6b5b8e332335cf17854fac850d9c70ba367c4692872613c3110ebd4e009b?s=96&d=mm&r=g\"},\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/jeroendedauw\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/JeroenDeDauw\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Semantic Maps - Yahoo Maps query printer - Blog of Jeroen De Dauw","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/","og_locale":"en_US","og_type":"article","og_title":"Semantic Maps - Yahoo Maps query printer - Blog of Jeroen De Dauw","og_description":"Last 2 days I continued working on the query printers of Semantic Maps. I started of with creating a new&hellip;","og_url":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/","og_site_name":"Blog of Jeroen De Dauw","article_published_time":"2009-07-04T14:10:19+00:00","og_image":[{"url":"https:\/\/www.entropywins.wtf\/blog\/wp-content\/uploads\/2009\/07\/sm-ymap-qp-sattelite.gif","type":"","width":"","height":""}],"author":"Jeroen","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/JeroenDeDauw","twitter_site":"@JeroenDeDauw","twitter_misc":{"Written by":"Jeroen","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/#article","isPartOf":{"@id":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/"},"author":{"name":"Jeroen","@id":"https:\/\/www.entropywins.wtf\/blog\/#\/schema\/person\/4e2ef14f2ca7dc3a0ac137d1692b66b7"},"headline":"Semantic Maps &#8211; Yahoo Maps query printer","datePublished":"2009-07-04T14:10:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/"},"wordCount":278,"commentCount":0,"publisher":{"@id":"https:\/\/www.entropywins.wtf\/blog\/#\/schema\/person\/4e2ef14f2ca7dc3a0ac137d1692b66b7"},"image":{"@id":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/#primaryimage"},"thumbnailUrl":"https:\/\/www.entropywins.wtf\/blog\/wp-content\/uploads\/2009\/07\/sm-ymap-qp-sattelite.gif","keywords":["GSoC","JavaScript","Mapping","MediaWiki","Open Source","PHP","Semantic Maps","Semantics","Wikimedia","Yahoo! Maps"],"articleSection":["Programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/","url":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/","name":"Semantic Maps - Yahoo Maps query printer - Blog of Jeroen De Dauw","isPartOf":{"@id":"https:\/\/www.entropywins.wtf\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/#primaryimage"},"image":{"@id":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/#primaryimage"},"thumbnailUrl":"https:\/\/www.entropywins.wtf\/blog\/wp-content\/uploads\/2009\/07\/sm-ymap-qp-sattelite.gif","datePublished":"2009-07-04T14:10:19+00:00","breadcrumb":{"@id":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/#primaryimage","url":"https:\/\/www.entropywins.wtf\/blog\/wp-content\/uploads\/2009\/07\/sm-ymap-qp-sattelite.gif","contentUrl":"https:\/\/www.entropywins.wtf\/blog\/wp-content\/uploads\/2009\/07\/sm-ymap-qp-sattelite.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/04\/semantic-maps-yahoo-maps-query-printer\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.entropywins.wtf\/blog\/"},{"@type":"ListItem","position":2,"name":"Semantic Maps &#8211; Yahoo Maps query printer"}]},{"@type":"WebSite","@id":"https:\/\/www.entropywins.wtf\/blog\/#website","url":"https:\/\/www.entropywins.wtf\/blog\/","name":"Entropy Wins","description":"A blog on Software Architecture, Design and Craftsmanship","publisher":{"@id":"https:\/\/www.entropywins.wtf\/blog\/#\/schema\/person\/4e2ef14f2ca7dc3a0ac137d1692b66b7"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.entropywins.wtf\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.entropywins.wtf\/blog\/#\/schema\/person\/4e2ef14f2ca7dc3a0ac137d1692b66b7","name":"Jeroen","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d62e6b5b8e332335cf17854fac850d9c70ba367c4692872613c3110ebd4e009b?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d62e6b5b8e332335cf17854fac850d9c70ba367c4692872613c3110ebd4e009b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d62e6b5b8e332335cf17854fac850d9c70ba367c4692872613c3110ebd4e009b?s=96&d=mm&r=g","caption":"Jeroen"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/d62e6b5b8e332335cf17854fac850d9c70ba367c4692872613c3110ebd4e009b?s=96&d=mm&r=g"},"sameAs":["https:\/\/www.linkedin.com\/in\/jeroendedauw\/","https:\/\/x.com\/https:\/\/twitter.com\/JeroenDeDauw"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p74TBF-1T","jetpack-related-posts":[{"id":1003,"url":"https:\/\/www.entropywins.wtf\/blog\/2010\/10\/06\/maps-and-semantic-maps-0-7-beta-1\/","url_meta":{"origin":117,"position":0},"title":"Maps and Semantic Maps 0.7 beta 1","author":"Jeroen","date":"2010-10-06","format":false,"excerpt":"An early beta of the next big release of the Maps and Semantic Maps extensions is now available for download. The most notable new features in this release are tag extension support for all the Maps parser functions, more consistent error handling via Validator 0.4 and compatibility with the upcoming\u2026","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/www.entropywins.wtf\/blog\/category\/programming\/"},"img":{"alt_text":"Semantic Maps reporting a fatal error in a map form input.","src":"..\/wp-content\/uploads\/2010\/10\/fatal-form-error.png","width":350,"height":200},"classes":[]},{"id":697,"url":"https:\/\/www.entropywins.wtf\/blog\/2010\/02\/01\/maps-and-semantic-maps-0-5-3-released\/","url_meta":{"origin":117,"position":1},"title":"Maps and Semantic Maps 0.5.3 released","author":"Jeroen","date":"2010-02-01","format":false,"excerpt":"Today I released Maps and Semantic Maps 0.5.3. Both releases mainly include bug-fixes, some of which quite important: Fixed JavaScript bug causing all OSM maps to fail. Pretty important yeah :) Fixed issue causing a fatal error when executing a query on Special:Ask with the \"map\" format. Fixed issue causing\u2026","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/www.entropywins.wtf\/blog\/category\/programming\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":109,"url":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/02\/semantic-maps-google-maps-query-printer\/","url_meta":{"origin":117,"position":2},"title":"Semantic Maps &#8211; Google Maps query printer","author":"Jeroen","date":"2009-07-02","format":false,"excerpt":"Here you have a small summary of what I worked on today. I started with improving some of the JavaScript created in the Google Maps query printer. The centre and zoom of the map are now calculated client-side via the Google Maps API instead of server-side via PHP code in\u2026","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/www.entropywins.wtf\/blog\/category\/programming\/"},"img":{"alt_text":"Semantic Maps showing a Google Maps with queried coordinate data","src":"..\/wp-content\/uploads\/2009\/07\/sm-gmap-qp-hybrid-baloon.gif","width":350,"height":200,"srcset":"..\/wp-content\/uploads\/2009\/07\/sm-gmap-qp-hybrid-baloon.gif 1x, ..\/wp-content\/uploads\/2009\/07\/sm-gmap-qp-hybrid-baloon.gif 1.5x"},"classes":[]},{"id":214,"url":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/19\/semantic-maps-google-maps-form-input\/","url_meta":{"origin":117,"position":3},"title":"Semantic Maps &#8211; Google Maps form input","author":"Jeroen","date":"2009-07-19","format":false,"excerpt":"I decided to really thoroughly rewrite the Google Maps form input (hook for Semantic Forms) in advance to staring on those using Yahoo! Maps and Open Layers. Before I started I made the prediction I would at least remove or move 125 lines of the 225 line long code. Want\u2026","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/www.entropywins.wtf\/blog\/category\/programming\/"},"img":{"alt_text":"Semantic Forms displaying a Google Map via the Google Maps form input hook of Semantic Maps","src":"https:\/\/i0.wp.com\/www.entropywins.wtf\/blog\/wp-content\/uploads\/2009\/07\/sm-fi-gmaps-earth.gif?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.entropywins.wtf\/blog\/wp-content\/uploads\/2009\/07\/sm-fi-gmaps-earth.gif?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.entropywins.wtf\/blog\/wp-content\/uploads\/2009\/07\/sm-fi-gmaps-earth.gif?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":20,"url":"https:\/\/www.entropywins.wtf\/blog\/2009\/06\/23\/semantic-maps-geocoding\/","url_meta":{"origin":117,"position":4},"title":"Semantic Maps \u2013 Geocoding","author":"Jeroen","date":"2009-06-23","format":false,"excerpt":"I just finished integrating the Google Geocoder function into Semantic Maps. It still needs some tweaking here and there, but the basics are done. All parser functions from Google Geocoder are working, and so is display_address. The main file for this functionality is SM_Geocoder.php, which is located in the root\u2026","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/www.entropywins.wtf\/blog\/category\/programming\/"},"img":{"alt_text":"Semantic Maps showing a geocoded address on a Google Map","src":"https:\/\/i0.wp.com\/www.entropywins.wtf\/blog\/wp-content\/uploads\/2009\/06\/sm-parser-displayAddress-gMaps.gif?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.entropywins.wtf\/blog\/wp-content\/uploads\/2009\/06\/sm-parser-displayAddress-gMaps.gif?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.entropywins.wtf\/blog\/wp-content\/uploads\/2009\/06\/sm-parser-displayAddress-gMaps.gif?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":183,"url":"https:\/\/www.entropywins.wtf\/blog\/2009\/07\/14\/semantic-maps-open-layers-query-printer\/","url_meta":{"origin":117,"position":5},"title":"Semantic Maps &#8211; Open Layers query printer","author":"Jeroen","date":"2009-07-14","format":false,"excerpt":"Today and yesterday I made some great progress on the Open Layers facet of Maps and Semantic Maps. I largely completed the query printer for the openlayer result format, and the pop-up balloons for the markers are finally working. The OL QP was the last big part of the work\u2026","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/www.entropywins.wtf\/blog\/category\/programming\/"},"img":{"alt_text":"Semantic Maps displaying an Open Layers map with queried coordinate data","src":"https:\/\/i0.wp.com\/www.entropywins.wtf\/blog\/wp-content\/uploads\/2009\/07\/sm-ol-qp-markers.gif?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.entropywins.wtf\/blog\/wp-content\/uploads\/2009\/07\/sm-ol-qp-markers.gif?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.entropywins.wtf\/blog\/wp-content\/uploads\/2009\/07\/sm-ol-qp-markers.gif?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.entropywins.wtf\/blog\/wp-json\/wp\/v2\/posts\/117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.entropywins.wtf\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.entropywins.wtf\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.entropywins.wtf\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.entropywins.wtf\/blog\/wp-json\/wp\/v2\/comments?post=117"}],"version-history":[{"count":0,"href":"https:\/\/www.entropywins.wtf\/blog\/wp-json\/wp\/v2\/posts\/117\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.entropywins.wtf\/blog\/wp-json\/wp\/v2\/media?parent=117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.entropywins.wtf\/blog\/wp-json\/wp\/v2\/categories?post=117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.entropywins.wtf\/blog\/wp-json\/wp\/v2\/tags?post=117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}