How use a image as map instead of google map - ruby-on-rails-4

Hello
is that it is possible to use an image map instead of google map. how can we do
Thank you for any help

You need to ask some specific question, not an open one. Mention what you are trying to do. How you are planning it to do. Do some searching on web and study the basics before asking a question.
For your question the answer is "YES you can". But you have to do lot of things by yourself. You need to have a large image (collection of images) with required information. Then you have to map and display them with viewing coordinates and zoom levels etc.... Study how Google do it(search web for that).

Related

Split screen map and streetview

Google’s 2017 map documentation does not say how to specify a split screen, lower part map, upper part streetview. Please, is this possible within a Google-map URL, and if it is, how?
Since you haven't give any more information about the language you use, im just gonna link the documentation from google.
Since its still usable, the realtime examples work and they haven't said a word in changelog or else, I would assume its still working.
Here you can get to the overall Google API Documentation
As an exmaple for the question, Google made a realtime Example with documentation, here in JS.
Also, even if its not possible to do in a short way, you can simply build two synchronized boxes. It just would take more effort.

Embed google map in idesign

I design custom travel guides. I am going crazy trying to find a way to insert offline zoomable maps in them. I use indesign CC. So far all I have managed is to embed google maps in the document and export it as an interactive pdf, but it needs internet connection to load the map.
Is there any way to insert offline maps in the document? I would be willing to switch to another software or export format if needed.
I don't know about designs but If you want offline maps then you should use TileMill.Also if you want to explore other options, see this question. Not sure if this will be helpful to you but if you get someone to extract the PNGs for you, I suppose you could make it work.

Google Glass: Vignette for Videos?

Newbie here. I just wrote an app/Glassware for Glass using GDK and I want to show it to others by making a video vignette (overlay of video from camera and glass display). I know picture vignettes are possible:
https://support.google.com/glass/answer/3405215?hl=en
But there's no mention of vignettes for videos. Anybody know if this feature will be implemented soon or if it's possible to implement this myself? Sorry, this is not a direct programming question but I don't know where else to ask. Thanks!
Cliff
You can't do this at the moment, but you could technically take two video feeds and overlay them manually in an editor to get the same feeling. If you have questions like this you should really use the Google Glass Explorers Community Forum located here:
https://www.glass-community.com/

which layout engine for finding coordinates of html elements on the web page?

I am doing some web data classification task and was thinking if I could get the co-ordinates of html elements as they would appear on a web-browser without taking into consideration any css or javascript being referred in the web page.
My language of programming is c++ and the need results for a couple million of pages, so it has to be fast. I know there is a Microsoft COM component which renders the page in a web browser control and then can be queried for position of different html tags. But this is not suitable in my case as it first renders the whole page which takes up a lot of time.
So as I found out, there are open-source layout engines WebKit, Gecko that can probably be used for this. But that's a huge piece of code and I need someone to direct me to the right classes or right modules to look into or any previous/similar work someone has done previously. Also, please let me know what you guys think is a good choice if I want to customize the existing code for use with multiple threads to make it faster.
Thanks
Generally, you would find that different page rendering engines do render the html in their own way and the results will differ.
The thing is that if you stick to any concrete browser engine, what you are to do is somehow bringing this engine into your project and using engine's interface to retrieve these coordinates. Kind of a tough task though, simply because you'll have to read a lot of documentation and crawl through thousands of files.
I think that right approach would be posting this task in some place, that is specific for the page rendering engine you've chosen. (gecko/webkit/...)
If you prefer sticking to something MS-specific, guess it's gonna be easier, but can't help you with something like class names or code chunks that you want to see. Probably somebody else could guide you in this case.

Vector or diagram drawing webservice

I have a webapp from which I'd like to insert diagrams and images quickly and easily. I expect there is, somewhere out there, a webservice which will take a URL with a parameter that describes the vector graphics or diagram and returns an image.
No unlike what google charts does for graphing data.
Any resources or ideas on this?
If I had to build it myself, do you have some ideas of how I might accomplish that?
For instance, does PHP/asp/etc have a graphics library that's capable of rendering simple vector graphics?
-Adam
Check out Raphael. Done by a bloke here in Australia.
No unlike what google charts does for graphing data.
Why not just use the Google Chart API?
http://code.google.com/apis/chart/
Have you considered something like http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm to produce actual vector graphics on the client side, instead of making requests to a server?
One possibility would be to generate SVG in realtime in the browser. This decreases browser compatibility, but that will decrease over time.