Jun 252013
 

The Google Maps API introduces styling of maps, like most people know when using OpenLayers (via SLDs) or OpenStreetMap (where you can create your own style, and share it with others). Google Maps styling is done in Javascript, as an extra option when creating the map. So there is no sharing option, and it’s not based on the SLD-standard, but I still think it’s a nice addition. Sometimes you don’t need the full color map, since it can distract from what you are showing.

Read more about the styling here.

You do need to set the visualRefresh to true, this will be the default in Google Maps API 3.14 and above.

google.maps.visualRefresh = true;
Jun 242013
 

I extended my PC with two old monitors I got from my sister/brother-in-law. An HP1955 and an HP2035, with resolutions up to 1280×1024 and 1600×1200 respectively. Since my main screen is FullHD (1920 x 1080), Eyefinity on the RadeOn 7970 will set the height of all to 1024 when you put them in a group. Giving me a total resolution of 3840×1024. Not the best the card can do, but the best in this setup.

To save me the trouble of constantly setting up the group and gaming, and then switching back to a normal extended desktop (with max resolutions on each monitor), I created two presets in the Catalyst Control center. Easy. Just do your setup, go to Presets (second item in the accordion) and click on Add Preset. Name the preset so you can recognize it. Do another setup and add it too. Now you can switch between the presets by right-clicking on the system tray icon of the Catalyst Control Center and selecting “Invoke preset”. Choose the appropriate preset, and you’re done.

Jun 242013
 

Last month, I started to run with the Zombies, Run! app. Actually, the Zombies, Run! 5K training to be exact.

This is my result sofar, of which I’m proud, since I didn’t skip any mission, not even when I was tired or it was bad weather. In this short period of time I ran in tropical heat and in rainy weather!

ZombiesRun - sofar

Next week the missions start to get really challenging (for me), since the intervals will have longer running periods than resting periods.

Jun 132013
 

I’ve never been a real fan of the Eclipse IDE, so Google moving away from it and changing the development environment to IntelliJ IDEA seems a good thing. There’s an early access preview version for those interested. Get version 0.1.1 here, but bear in mind that it’s not feature complete yet.

Jun 102013
 

Funny. Just to have some sound and some movement in the background, I turned on the TV and stopped zapping on a channel with CSI:NY. All the latest equipment, super cool gadgets, user-interfaces nobody has ever seen, but still…..they connect their monitors to the PC with…..the famous blue VGA connectors? No HDMI or DVI or DisplayPort, just the age-old VGA connector.

Jun 042013
 

If you need to use Google’s tiles in LeafletJS, you can follow the same URL structure as OpenStreetMap. The tile servers are mt0 .. mt3, and the XYZ are specified a little differently. Here you go:

L.tileLayer('http://{s}.google.com/vt/x={x}&y={y}&z={z}', {
            subdomains : ['mt0','mt1','mt2','mt3'],
            attribution: 'Tiles Courtesy of <a href="http://maps.google.com" target="_blank">Google</a>',
            maxZoom: 18
            }).addTo(map);