Giter Club home page Giter Club logo

jquery-placepicker's Introduction

jQuery PlacePicker - 20100203
=====================

This plugin provides a widget that can be used with a geocoding service (and
optionally a map interface) to allow users to search for and select locations.

Requirements
---------------
jQuery 1.3.2 (maybe not, but haven't tested with other versions)
jQuery UI 1.7.2 (ditto)

Optional
Google Maps API v3 (http://maps.google.com/maps/api/js?sensor=false) (make sure
to set the sensor parameter appropriately)

Features
---------------
* Supports Google Map API v3 out of the box, framework for others
* Internationalization support
* Lightweight
* Automatically fill form fields with location data

Usage
---------------
Note: The included stylesheet pretties it up, but shouldn't be strictly
required. That said, it will look like junk if you don't use any. ;D

Note: See examples directory for more details.

Given this HTML (style and script tags not shown):

<div id="placepicker"></div>
<div id="map-canvas"></div>

You can apply the plugin like this: $( '#placepicker' ).placepicker( {
  // options, event handlers
 
  // ex: enable display on map
  map: someMapObject, // where the map is a map object initialized earlier
  
  // ex: enable form fill
  form: $( 'form' ) // this parameter is a jQuery object containing the form

  // ex: make map clickable to select location
  clickable: true

} );

Issues
---------------
* Better location detail parsing (in Google Plugin; they need to standardize
 their geocoder response!)

Let me know if you find others: [email protected]

jquery-placepicker's People

Watchers

Luis Specian avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.