I have been working on an app and I am using MapView from react-native-maps. I wanted to know how I could put points on the map based on the store's address? I do not have too much of a clue of how to convert an address into a log and lat. I would assume that the store owner would type in their address and that address would convert to long and lat? I do know that it would entail MapView.Marker. If someone can provide me with a youtube video, give me some advice or a link where I can read up on the logic of this! I plan to have multiple stores. I do know that this would probably include a database however, I am trying to achieve a working BETA version.
Here is an idea! When you open the app you are greeted with multiple bird scooters where the user can walk to. I wanted to provide the same effect rather when you open the app all the stores within a certain radius are there for your viewing pleasure.
Thank you in advance!
To convert an address to lat/long coordinates you need to use a geocoding service. Here is an example if you use Google Maps: https://developers.google.com/maps/documentation/javascript/examples/geocoding-simple
Related
I need work with map in my site but I do not know where to start. I searched the internet, but I can not find a proper answer. I write my questions below and I hope you can help me:
What is the best map I can use? Otherwise the Google map if I need?
In my website, my user can mark the map and write some description for that location. So I have to many location and I want show them at once when the user open the map on my site. How to do this?
Also when the user clicks on a mark, the description of them should be shown to the user.
How can I limit the radius of the displayed marks according to the user's current location?
Please help me.
You can use Leaflet that is an open source JavaScript library used to build web mapping applications and has many features and events that can solve your concerns.
I'm using Bing Maps on Windows store app (XAML).
I have the longitude and the latitude and I want to get the address (if it exists) of the location.
How can I do it?
Thanks!
You want to do what is called reverse geocoding. Take a look at the SearchManager class: http://msdn.microsoft.com/en-us/library/dn306041.aspx This will let you reverse geocode your coordinates and get the address.
Alternatively you can also use the Bing Maps REST services:
This would be more work than using the search manager, but wouldn't require loading an interactive map first.
http://msdn.microsoft.com/en-us/library/ff701710.aspx
http://msdn.microsoft.com/en-us/library/jj819168.aspx
http://msdn.microsoft.com/en-us/library/jj870778.aspx
Since it sounds like you are new to using Bing Maps in Windows Store apps I'd recommend downloading a free copy of my eBook on creating location intelligent Windows Store apps. It shows how to do this an a lot more. You can get a copy of it here: http://rbrundritt.wordpress.com/my-book/
I am new to google maps, my requirement is to create the virtual boundaries on google maps API V2 using geo fencing. I wanted to make an alert when the virtual boundaries are crossed.
So how can i get this done or any useful information regarding it?
Thanks in advance!!
The way how we implemented that is that we created background service which wakes up periodically (every 5 mins for instance) and checks you current location.
Tricky point here is to avoid using GPS data to save battery, but use network location data instead.
As far as I know, there is no native way to create geofencing like in iOS
Currently I have a website and database solution, however I would like to take 'Postcodes' from the records and place corresponding markers for them on a Google maps view.
Is this possible? And where would I start? Thanks
You can use the Google Maps Javascript API to place a map on your webpage. There is a good code example section. Markers should be easy to find.
The process of translating a postcode to a map location is called geocoding. There are code samples here too. The geocoding API has a usage limit and it takes time to do its work. SO if you have many postcodes, you might want to cache geocoding results.
There are many, many ways to get postcodes from a database to JavaScript. If you have an issue there, you'd better ask a more specific question, including the platform and language tag.
I have a request from a client that wants to add adverisments in an iPhone application.
The client should be able to put his own advertisments at his own will: whenever his wants and as many times as his wants, without our help.
Is there any solution and what is it? Preferrably for free.
What dimensions should the banner have?
you can develop an xml based adv system and C# desktop app to desing adv easly. You should define properties, image and text tags, coords and navigation urls. Then an xml parser and you can create adv dynamicly.
Once i developed something like that to develop ITV channels and it reduced development time too much.
Or you can simply use webview
Give AdMob a try and be sure to check out House Ads.
You can use House Ads to upload/create your own banners or text ads and get the statistics and a robust framework for displaying ads in your app with it.
You could use StorageRoom to manage the ads and then use the API to pull them into your app.
Disclaimer: It's my startup.
I've used quite a few ad networks and for what you outline as your requirements I'd go with MobClix. If you want to earn revenue from other peoples ads then iAds and MobFox work best for me.
Adwhirl its quite flexible allowing you/client to set the ad providers, percentage per provider and as well as house ads.
I'd suggest you use a CMS for image upload, create some templates that use banners and create html-links, html-text, html/css/js/whatever-content.
Your app could then call specific URLs and if it gets get a valid response, it could create a UIWebView and add that to the view hierarchy.
If your user clicks the ad, the UIWebView-delegate will be called and you can decide what you want to do (e.g. open safari with the URL defined by the HTML-Link).