I need to add Waze button to mobile site, I copy the code from other site but when I click from my site it doesnt build a track on waze, and if I click from the other site it builds a track.
the url of the other site is:
http://go5.co.il/m/location.php?id=10707
the url of my site is:
http://easy-time.info/mobile/admin/pg6-admin.php
the code I copied is:
<a href="waze://?ll=31.66526,34.58684&navigate=yes">
Waze has an API http://www.waze.com/dev/documentation/
Please look at the code there. It shows a regular a href="" but it is related to longitude and lattitude you need to get from google maps or something else.
<img src="wazeimage.jpg">
if you copy the long/lat and paste in google maps it shows a cafe in israel somewhere: 31.66526,34.58684
Related
I would like to get the location (coordinates) in latitude and longitude from the clickable map on this web page and other similar pages. I am not sure how to go about this using rvest or a scraping package since the Google Maps link with coordinates as shown below only appears if I click on the Ver Mapa button in blue.
https://www.google.com/maps/embed/v1/search?q=-26.106150272877,-56.89951582606415&key=XXXXXXXXXXXXXX&zoom=14
under <div class="modal-body "id=map-canvas">
You are right, that the link is executed only when clicking the button. You also cannot access the link through rvest, because it is stored inside of a script. However, the script is loaded together with the HTML. Which means, it is accessible through the source-text of the website.
The website somehow had to know, where the coordinates are, to succesfully query google maps. Since you are only interested in the coordinates (I suppose), here is a code snippet that should get you started.
It downloads the html as text and through regex filters the relevant info from the stored google request.
You can play around with the regex here: https://regex101.com/r/XIagYl/1
What I did was just navigate to the source text of the website and ctrl-f "google.com/maps" and there the link was sitting in the script. :)
text <- httr::GET("https://clasipar.paraguay.com/inmuebles/propiedades-rurales/granja-sobre-asfalto-con-infraestructura-completa-2093966") %>% httr::content(as ="text")
stringr::str_extract_all(text,"(?<=q=).*(?=\\&key)")
since this morning my site does not show google maps in the tab, but I did not make any change, I tryed to upload a backup but doesn't work.
Here the url of a page where google maps doesn't work
http://rome-holiday-accommodation.com/product/apartment-rental-near-colosseum/
Just for be clear, in other position maps works as the home page.
Thanks for your attention
I've 2 api key for the same project, I deleted one and now it's working
I'm not a tech person so forgive me - until today my website was developed to display a selection of instagram images on my (bluehosted) website based on various hashtags, but now the images no longer display. The url is http://go-where.co.uk
The original developer has moved on and I am in need of advice to resolve the issue please as the website relies on this functionality. I have notes left by the previous developer which contain links that cannot be posted as I am a new user and have a limit of 2 links.
So I was able to take a look at the issue... there is something wrong with your wordpress config as the urls over at instagram have not been altered...
this photo that I pulled from your site still renders just fine
your code looks something like
<a href="https://www.instagram.com/p/BCQI4EGwhT4/">
<img src="/wp-content/uploads/instagram/12748323_236400550029515_122771_n.jpg?ig_cache_key=MTE5MzQ5MjkzODMyNDMxNzQzMg%3D%3D.2">
</a>
This issue is therefore with your <img> tag and has nothing to do with the Instagram API.
I have been searched on google so many time about facebook share and comment,but i didn't see any good solution for me.I try to share my product with my code
<a class="facebook"rel="nofollow" target="_blank" href="http://www.facebook.com/sharer.php?u=#Param&p[images][0]=#Model.Imgurl&p[title]=#Model.Name&p[summary]=#Model.Description">
With my param in my url of products detail.It just share the link without configure my description.Any solution for me.
And please tell me how can i create comment in facebook too.
Even you set from the link Facebook needs some open graph/meta tags for that.
Also check your url with Facebook url linter to make sure everything is ok.
https://developers.facebook.com/tools/debug
i am develope web application for factory i need to add google map with location of factory
in contact us web page.any help i am just beginging with web development
Easy way here does all the work for you.
Embedding a map into a website or blog
You can embed a simple map, a set of
driving directions, a local search, or
maps created by other users. Here's
how:
Ensure that the map you'd like to embed appears in the current map
display.
Click Link to this page in the top-right corner of the map.
In the box that pops up, copy the HTML under 'Paste HTML to embed in
website,' and paste it into the source
code of your website or blog.
If you'd like to adjust the size of the map before you embed it, just click
Customize and preview embedded map, select your preferred size, and take a
look at the preview map. Once you're happy with what you see, copy the HTML
that appears in the box at the bottom of the window.
Keep in mind that you won't be able to embed Traffic maps, Mapplets, and some
other Maps features.
Google Map API is just javascript. Which can be used in any web technology
follow this link you will get what you are looking for
http://code.google.com/apis/maps/documentation/javascript/
If your beginning, maybe you should try to learn web development first. Javascript, post/get mechanics, HTML/CSS validation. Tackling Google Maps integration right at the beginning of your learning process might slow down your project evolution. It's my opinion.
To learn google maps api, try to start at this address :
http://code.google.com/intl/en/apis/maps/documentation/javascript/introduction.html