Stoppt die Vorratsdatenspeicherung! Jetzt klicken &handeln! Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:

Archived entries for mapping

Data Map With SVG

Jim Ray erklärt für A List Apart wie sich SVG für die Darstellung von Karten nutzen lässt und gibt auch gleich einige Ressourcen mit.

SVG has held a lot of unrealized promise for over a decade now, with baked in support finally becoming mainstream (even IE9 will include native SVG rendering when it launches later this year). Unlike canvas or other script-only approaches, SVG can be easily divided into design and code elements, with just a little code to add interactivity. It even works on devices like the iPad and iPhone. And now, thanks to svgweb and a clever use of Flash, it works on older platforms no one could have ever imagined supporting SVG.

daily links

  • Dynamic Drive DHTML Scripts- Google Map Selector
    This jQuery script lets you easily embed a Google Map on your page that supports switching between multiple addresses. A two column layout is presented by default, with the list of desired addresses on the left column and a Google Map on the right. The script automatically adds a CSS class of "selected" to the selected address’s LI container to highlight the current address while updating the "View Larger Map" link below the Google map to the appropriate link as well.
  • Exclude Posts and Pages in WordPress Search
    Sometimes you don’t like to display every post and page on search results. Today I like to show you how to filter the search in your frontend. Therefore I add a filter to the query of WordPress and exclude the according posts or pages of the search.
  • Fast 404 | drupal.org
    Drupal has expensive 404 errors. On an ‘average’ site with an ‘average’ module load, you can be looking at 60-100MB of memory being consumed on your server to deliver a 404. Consider a page with a bad .gif link and a missing .css file. That page will generate 2 404s along with the actual load of the page. You are most likely looking at 180MB of memory to server that page rather than the 60MB it should take.
    That’s where Fast 404 comes in. This module combines a very common method of handling missing image/file 404 errors (discussed here and planned for Drupal 8) with a method created by dpardo (a co-maintainer of this project) to deliver super fast 404 error pages for both missing images and bad paths. Depending on which method of implementation you choose (aggressive or super aggressive) you can deliver 404 errors using less than 1MB of memory on your server.

Googles Static Map API

Der erste Eintrag im Adventskalender von 24 ways to impress your friends beschäftigt sich mit der Möglichkeit Googles Kartenmaterial als Bild zu verwenden.

Google has a Static Map API which not only gives you a handy interface to retrieve a tile for the exact area you need, but also allows you to place pins, and zoom and centre the tile so that the image looks just so.

This means that you can create a static, non-JavaScript version of your slippy map’s initial (or ideal) state to load into your page as a regular image, and then have the JavaScript map hijack the image and make it slippy.

Die Syntax ist denkbar simple:

<img src="http://maps.google.com/maps/api/staticmap
	?center=Bethlehem+Israel
	&amp;zoom=5
	&amp;size=540x280
	&amp;maptype=satellite
	&amp;markers=color:red|31.4211,35.1144
	&amp;sensor=false"
	width="540" height="280" alt="Map of Bethlehem, Israel" />

daily links

daily links



Copyright © 2004–2009. All rights reserved. – Impressum

RSS Feed. This blog is proudly powered by Wordpress and uses Modern Clix, a theme by Rodrigo Galindez.