Les nouveautés et Tutoriels de Votre Codeur | SEO | Création de site web | Création de logiciel

Seo Master present to you: This post is part of the Who's @ Google I/O, a series of blog posts that give a closer look at developers who'll be speaking or demoing at Google I/O. Today's post is a guest post written by Ken Hoetmer of Lonely Planet.

Lonely Planet has been using Google Geo APIs since 2006 - you can currently find them in use on destination profiles at lonelyplanet.com , in our trip planner application , in our hotel and hostel booking engine , on lonelyplanet.tv , and in our mobile site, m.lonelyplanet.com . I could talk for hours about any of these sites, but in preparation for Google I/O and my talk at the Maps APIs and Mobile session, I'll spend this post discussing our use of the Google Static Maps API and the HTTP geocoding service on m.lonelyplanet.com.

Our mobile site's primary feature is highlighting points of interest (POIs) around you, as selected by Lonely Planet. The site is browser based and targeted at a baseline of devices. This accessibility is great for on the road, but because of this choice, we can't obtain precise user locations via a location API. Instead, we've asked our users to self-select their location by entering it into a free form text field when they first arrive at the site. This location is then posted to our server, geocoded on the back end by forwarding the text to the Google HTTP geocoding API, and then used to either set the user's location or return a list of options for disambiguation.

Knowing the user's position, we then forward the position and a radius in kilometers to our Content API's POI proximity method, returning a list of points within range, in order of proximity. Once we have the POIs, we need to present them on a map, relative to the user's location. This is where the Google Static Maps API comes in. We can't rely on the availability of Flash, JavaScript, and Ajax, but the Static Maps API enables us to serve a JPEG map by simply providing our list of POI geocodes, a few bits about labeling markers, and a height / width (which we calculate per device by querying screen sizes from WURFL) as query parameters to a URL. Below the map we put a few links for switching the map between (road)map, satellite, hybrid, and terrain base maps.

That gives us a basic map, but what if the user wants to look a little farther to the north or east? To enable this, we augmented the map with a lightweight navigation bar (north, south, east, west, zoom in, zoom out), with links to new static maps that represent a pan or zoom action. Here's how we generated the links:

Let's say our page has a static map of width w pixels, height h pixels, centered at (lat,lng) and zoom level z.
$map_link = "http://maps.google.com/staticmap?key={$key}&size={$w}x{$h}&center={$lat},{$lng}&zoom={$z}";
Then, we can generate north, south, east, and west links as follows (this example assumes the existence of a mercator projection class with standard xToLng, yToLat, latToY, lngToX routines):
// a mercator object
$mercator = new mercator();

// we'll pan 1/2 the map height / width in each go

// y pixel coordinate of center lat
$y = $mercator->latToY($lat);

// subtract (north) or add (south) half the height, then turn
back into a latitude
$north = $mercator->yToLat($y - $h/2, $z);
$south = $mercator->yToLat($y + $h/2, $z);


// x pixel coordinate of center lng
$x = $mercator->lngToX($lng);

// subtract (west) or add (east) half the width, then turn back into a longitude
$east = $mercator->xToLng($x + $w/2, $z);
$west = $mercator->xToLng($x - $w/2, $z);
So that our north, south, east, west links are:
$north = "http://maps.google.com/staticmap?key={$key}&size={$w}x{$h}&center={$north},{$lng}&zoom={$z}";
$south = "http://maps.google.com/staticmap?key={$key}&size={$w}x{$h}&center={$south},{$lng}&zoom={$z}";
$east = "http://maps.google.com/staticmap?key={$key}&size={$w}x{$h}&center={$lat},{$east}&zoom={$z}";
$west = "http://maps.google.com/staticmap?key={$key}&size={$w}x{$h}&center={$lat},{$west}&zoom={$z}";
Of course if you're serving a page knowing only a list of points and their geocodes, then you don't have a zoom level value for calculating the map links. Thankfully, mercator projection implementations often offer a 'getBoundsZoomLevel(bounds)' function, which serves this purpose (create your bounds by finding the minimum and maximum latitudes and longitudes of your list of geocodes). If your implementation doesn't provide this function, it's not complicated to write, but I'll leave that to the reader (hint: find difference in x and y values at various zoom levels and compare these to your map width and height).

As mentioned earlier, I'll be joining Susannah Raub and Aaron Jacobs to delve deeper into maps and mobile devices at Google I/O. In addition, Matthew Cashmore (Lonely Planet Ecosystems Manager) and I will be meeting developers and demoing our apps in the Developer Sandbox on Thursday, May 28. We'd love to meet you and we'll be easy to find - simply follow the noise to the jovial Welshman.

2013, By: Seo Master
Seo Master present to you:
World most popular mobile manufacture Symphony is going to introduce their brand new exclusive tablet Xplorer T8i. Hope this tablet is going to be a hot item in the present tablet market place. This tablet will come in market soon. Here we just share the tablet specification and we will share the review and price soon.

1. Operating System: Android 4.0 Ice Cream Sandwich

2. 8” IPS XGA Capacitive Touch

3. XGA Display

4. Camera:5MP+2MP

5. 1 GHz Processor (Duad Core)


Symphony Tablet XplorerT8i
6. RAM 1 GB & ROM 4 GB


7. Battery 4700 mAh

8. 3G Network,EDGE,WiFi,GPS

9. Audio Video & call recorder

10.Bluetooth: v3.0

9. Angry Birds, Highway rider, Facebook, Youtube, Android Market(Play Store),
Temple Run, Nimbuzz, Gmail, Skype, Office suite, Dictionary


10. GPS, G-Sensor

11. 2G Network: GSM 900/1800/1900MHz

12. 3G Network: WCDMA 850/2100MHz
2013, By: Seo Master
Seo Master present to you:
Besides knowing how to voicing a variety of language features of Google translate ' pay attention ' is pretty amusing and pleasant. There are a bit of methods and unseen secrets.


Google translate is a translator program that a lot people use today. Google translate has serious benefits as a translator from one language to a second. Choice of assorted languages is pretty complete. This application has also various sorts of features that could supplement its effectiveness, one of the additional present features that it is capable to read what we write in the text box. There is a tiny icon below the text box that whenever we simply click it, we will listen the voice of somebody who will be voicing this kind of language text similar that we write in the text box. 

Apart from having the ability to voicing various language features of Google translate ' take advice ' is pretty enjoyable and pleasant. Occasionally it made me laugh with the translation voice I heard through the icon ‘listen’. And lately I found an assortment of tricks and unseen top secret of Google translate. I got a couple of secrets that I have tried and it’s quite fun and entertaining. You may also check it out, attempt these methods and observe the outcomes below: 

Google Translator

Beat boxing machine

The most famous Google translate trick is the beat box sound. If you type the code below, try to translate and listen it into German language, you will hear beat box sound if you click the ‘listen’ icon that change to ‘beat box’. You can combine multiple codes below to generate a variety of beat box sound as for an example: zk zk bschk bschk pv pv bschk bk zk zk bk tk bschk bk kt vk kttp bschk bk bk th bschk bschk bschk kttp.

zk = suspended cymbal
bschk = snare
pv = brush
bk = bass
tk = flam-1
vk = roll tap
kt = flam-2
kttp = flam tap
krp = hi hat tap
th = better hi hat
thp, ds = instant rimshot

Machine sound

Type this into textbox and change the language into Serbian then click the “listen’ icon: Rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

See what happened.

Justin Bieber fact

Try type this (or copy paste): Will Justin Bieber ever hit puberty
- chose to translate the language from English to Vietnamese
- Then copy-paste the Vietnamese words and put into the text box
- translate it from Vietnamese to English
- see the result

Take a dirty picture for me

Try type this (or copy paste): Take a dirty picture for me
- chose to translate the language from English to French
- then copy-paste the French words and put into the text box
- translate it from French to English
- see the result

Men do the cooking

Try type this (or copy paste): men are men and men do the cooking
- chose to translate the language from English to Ducth
- then copy-paste the Dutch words and put into the text box
- translate it from Dutch to English
- see the result

Do you like me idiot?

Try type this (or copy paste): Do you like me idiot?
- chose to translate the language from English to Hungary
- then copy-paste the Hungary words and put into the text box
- translate it from Hungary to English
- see the result

Do not see idiots movie

Try type this (or copy paste): Do not see idiots movie
- chose to translate the language from English to Tamil
- then copy-paste the Tamil words and put into the text box
- translate it from Tamil to English
- see the result

Pikachu

Try type this (or copy paste): Pikachu
- chose to translate the language from English to Arabic
- then copy-paste the Arabic words and put into the text box
- translate it from Arabic to English
- see the result

Transformer The Game

Try type this (or copy paste): Optimus prime
- chose to translate the language from Latin to English
- see the result

Explore!

2013, By: Seo Master
Powered by Blogger.