{"id":2544,"date":"2016-05-12T15:05:56","date_gmt":"2016-05-12T14:05:56","guid":{"rendered":"http:\/\/www.cadetill.com\/?p=2544"},"modified":"2016-05-12T15:05:56","modified_gmt":"2016-05-12T14:05:56","slug":"problema-con-gmlib-v1-x","status":"publish","type":"post","link":"https:\/\/www.cadetill.com\/en\/problema-con-gmlib-v1-x\/","title":{"rendered":"Problem with GMLib v1.x"},"content":{"rendered":"Due to the future closure of google.code, the raw files are no longer available. For this reason and because GMLib uses StyledMarker.js hosted in this servers, GMLib has stopped working.<\/p>\n<p>However the solution is easy: upload this file to another server and do a small changes into the GMLib code.<\/p>\n<p>So, I have uploaded StyledMarker.js to the GitHub GMLib repository. Now, you only need to do this small modification into GMLib:<\/p>\n<ul>\n<li>Into .\\resources\\map.html file replace this url<\/li>\n<\/ul>\n<pre class=\"brush:JavaScript\">http:\/\/google-maps-utility-library-v3.googlecode.com\/svn\/trunk\/styledmarker\/src\/StyledMarker.js<\/pre>\n<p>by this other<\/p>\n<pre class=\"brush:JavaScript\">https:\/\/rawgit.com\/cadetill\/gmlib_v1\/master\/Resources\/StyledMarker.js<\/pre>\n<ul>\n<li>Recreate resource file executing\u00a0 .\\resources\\rc.cmd<\/li>\n<li>Build (no compile) all GMLib<\/li>\n<\/ul>\n<p>With this easy steps we have GMLib up to date.<\/p>\n<p>Another option is download the changes from the repository.<\/p>\n<p>Until the next entry!<\/p>\n<p>&nbsp;","protected":false},"excerpt":{"rendered":"<p>Due to the future closure of google.code, the raw files are no longer available. For this reason and because GMLib uses StyledMarker.js hosted in this servers, GMLib has stopped working. However the solution is easy: upload this file to another server and do a small changes into the GMLib code. So, I have uploaded StyledMarker.js <a href='https:\/\/www.cadetill.com\/en\/problema-con-gmlib-v1-x\/' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5],"tags":[34],"class_list":["post-2544","post","type-post","status-publish","format-standard","hentry","category-delphi","tag-gmlib","category-5-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p13r0p-F2","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/posts\/2544","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/comments?post=2544"}],"version-history":[{"count":4,"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/posts\/2544\/revisions"}],"predecessor-version":[{"id":2549,"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/posts\/2544\/revisions\/2549"}],"wp:attachment":[{"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/media?parent=2544"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/categories?post=2544"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/tags?post=2544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}