Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

Passing Location string as parameter to google places from iphone sdk -


i working on google places list local interest points particular location. not able set particular location right in link. following link trying use.

http://www.google.com/m/local/lstr=bryn+mawr

http://www.google.com/m/places/lstr=bryn+mawr

https://maps.googleapis.com/maps/api/place/details/json?reference=reference_id&client=clientid&sensor=true_or_false&signature=signature

https://maps.googleapis.com/maps/api/place/details/xml?reference=reference_id&client=clientid&sensor=true_or_false&signature=signature

please suggest solution regarding this.

take @ api. makes pretty clear have include. see required parameters:

location (required) — textual latitude/longitude value wish retrieve place information.

example: location=-33.8670522,151.1957362 -- query not have location.

radius (required) — distance (in meters) within return place results. recommended best practice set radius based on accuracy of location signal given location sensor.

example: radius=50 -- query not have radius.

name (optional) — text name of place. when passed, matching results restricted containing passed name. name not case-sensitive. parameter useful narrowing down search place when know located.

optional, helps narrow down right result if name being searched for.

sensor (required) — indicates whether or not place request came device using location sensor (e.g. gps) determine location sent in request. value must either true or false.

example: sensor=true -- have *true_or_false* in example isn't valid. last sentence in description, above, notes must true or false.

client (required) — specifies registered application using service.

example: client=1234567890 -- using "clientid", have use actual clientid of app, requested google , explained in api reference.

signature (required) — generated value of signing url using client's cryptographic key. (see url authentication more information.)

example: signature=1234567890 -- using signature have supply valid signature encrypted url using the private key google.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -