How to show multiple location on map in ASP.NET Core? - asp.net-core

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.

Related

How to plot store points on a map (react native)

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

How to display my organization details on right side of the google SERP?

When searching on Google, some organization details will display on the right side of the search result page that are realetd to my keywords.
Anybody knows how to display our data on that side?
See this example:
I found this great resource that goes into step by step instructions on how to do this. source: https://www.searchenginejournal.com/how-to-optimize-your-site-for-googles-answer-box/166084/
Here are the quick highlights:
To summarize, here’s what you should do if you have a website and want to get clicks from search in relation to a Google Answer Box.
Start by finding out if there is a Google Answer Box that relates to
content on your website or content that you could create for your
website, as shown in the examples above.
Create content that matches the Google Answer Box, goes into more
depth, and make sure it is using the correct markup.
Aim to be either the source of the Google Answer Box or the closest
to the Google Answer Box as you can get.
Make sure your page’s SEO title and meta description tell the
searcher you have even better information than the Google Answer Box
to encourage them to click on your link. Also, make sure it includes
the query the person would search to find the Google Answer Box.
Build links to your Google Answer Box content using anchor text that
matches the Google Answer Box call to action (if you have software)
or the query the person would search to find the Google Answer Box.
I am playing around with some free Wordpress plugins that automatically add schema. You can view more on SEO and other marketing help on my blog here: http://www.renowebdesigner.com
First, you need to have GMB Page for your website and make sure that your profile is 100% updated. It is called a knowledge graph. Basically, there are two types of graph,
Local Knowledge Graph
Branded Knowledge Graph
I hope that you have updated the following things on GMB page:
Business name
Business category & sub-category
Services which your offering
Contact num
Website link & appointment link
Explain about your business
Mark the exact location on the map
Add labels
To implement the knowledge graph for your business. I'm not aware of which website platform you're using.
Case1: If you're using WP website you can directly download knowledge graph plugin and update all your social links. At the same time make sure that your website doesn't have any issues. Check with structured data testing tool.
Case2: If you developed a website on another platform I request you to implement schema.org on the website with the help of the developer. The complete guide is available in webmaster tools.
Hope I have answered your question.
That’s coming from Google’s Knowledge Graph.
If you are the "authority" (e.g., for a search for "google", the authority is Google), structured data on your site can be used by Google to show more information in that sidebar. That would be Knowledge Graph cards (details). An example is Corporate Contacts.

How to get details of current user from Google APIs

I am sure that I am being very blind or stupid somewhere along the way but I have looked for this answer for a while and haven't come up with anything!
I have been working on getting my actionscript app working with Google's Oauth mechanisms which is all working great now but I can't for the life of me work out how to get details on the currently logged in user.
I want to get get the user's name (alias or full name I don't care) and a thumbnail url to display at the top of my app to make it clear who is logged in.
I have looked in general google api docs, drive docs and youTube docs and not found it anywhere...
I'm sure this is a really easy answer for someone to give!
Thanks
Add this to the scope -
https://www.googleapis.com/
auth/userinfo.profile
And after authorization is
done, get the information
from - https://
www.googleapis.com/oauth2/
v1/userinfo?alt=json
It has loads of stuff -
including name, public profile
url, gender, photo etc.
Source :
stackoverflow.com/questions/7130648/get-user-info-via-google-api

How to get user picture using Asana API?

I am trying to display user picture using Asana API, nut the /users/id service just return id, mail, name, workspaces. How can I?
Thanks
(I work at Asana)
The API does not currently provide access to the user profile photo. It is something we are considering adding in the future, but I can't provide any specifics on the timeline.
Until the API provides access to the photo, a useful workaround that we've been using is to get the user's email address out of Asana and then try to pull a picture from Gravatar. Obviously it requires the users to have registered at Gravatar, and they might have different pictures than what it is in Asana... but it's good enough for many situations.
(I work at Asana, too)
We recently added the ability to fetch (but not change) the user's photo. Check out the updated documentation (specifically the "photo" attribute of the user model is what you're looking for).

live sandbox containing multiple apis

I remember once seeing a site that contained all the popular apis and it displayed sample data when you fetched or inserted content via REST. I cant remember what site it was on so if anyone knows let me know thanks
You are probably looking for this.
This site is a directory to all API Services provided by companies.