How to make Google map animate in background just like Smarty Pins? - google-maps

My website is based on a map-service. I'm trying to make a login page in which I want to implement the animation in the background to maps just like done in Google's Smarty Pin. But I'm not able to understand how should I animate it?
I have taken some reference from here.
My project is based on Angular 2.

Related

Create custom interactive map

I want to create a simple "interactive" map, where there would be an image (the map) and some elements on it.
I'd like my elements to glow/open a pop-up when hover or click on it, or even open a new page.
My process would be to create a new div, add new elements on it with a position:absolute and place them with top/left/right/bottom... and add CSS hover proprieties to the elements.
But, I know this might not be the appropriate way to do it.
My questions are :
Can I do that using only HTML/CSS ? Or should I start learning new
programing languages ?
Is there any plugins or sites available for what I want to do ?
I would recommend you use JavaScript with this for interactivity.
Check out the Google maps api. It can do what you are trying to do.
We have a helper plugin for maps api and jQuery for setting the markers on the map.
http://github.com/Lucien-Consulting/Google-Map-Marker.git
Those two suggestions will get you started. Just jump in and try it!

How do you shift the centre of the map in an embedded Google map?

I have a Google Map that I have embedded on my web site. I have managed to size and position the iFrame so that it sits where I want it to sit on my web page. I am using the new Google Maps version.
However, I want to be able to shift the centre of the map to the right, because as it standsnow, the box that displays the map layers is covering some of the locations I have marked.
I am not at this point using any Javascript or jQuery. I have simply taken the iFrame link provided by Google's embed feature and placed it in my HTML. I see there are other questions about map centering, but I can't parse them for my situation because they assume some Javascript implementation. Also, I'm hoping that I do not have to take on a whole API or Javascript library to solve this. Further, it is unclear to me if the other questions relate to the new Google Maps version, which is what I'm using.
Is there a way I can alter the centre of the embedded Google Map?
Just add a "center" parameter to your iframe url. Like so - center="40.714728,-73.998672". You can get the required coordinates by searching in google maps and picking them from the address.
You could alternatively also use a query parameter but center is more accurate.
refer - https://developers.google.com/maps/documentation/static-maps/intro#location

StreetViewPanorama moving around without smooth Transitions

If you see their Business Photos homepage they have some nice Automated Virtual Tour using Google Streetview.
http://maps.google.com/help/maps/businessphotos/
If you pause the tour and use the controls to move around, you get the nice transitions from spot to spot.
I'm trying to figure out how to do this.
Here is an example of StreetView in their API and it also DOES NOT have the smooth transitions.
https://developers.google.com/maps/documentation/javascript/examples/streetview-events
I need to do this from the Javascript library and not embed an iframe.
Thanks!

Possibility to adjust brightness or to apply blur effect on Leaflet Map?

I know it is possible with Google Map API v3 (MapTypeStyler option) but do you think it is with Leaflet API ?
Thing is that I have text that cover a map I need to make more visible by adjusting brightness or - even better - by applying blur effect like in this example : http://www.hongkiat.com/blog/css-filter/
CSS shader looks very promising but supported only with latest Chrome browser.
The text over the map is modal (user must interact with button) and I could add overlay with a PNG image file. I don't like to much this solution that need unnecessary file to be transfered to the client.
Thank you,
Leaflet is very lightweight and simply puts references to tile images on your html page. So I see two options to change the look of the tiles:
CSS
Which indeed depends on the browser.
Custom tiles
Leaflet will display tiles from any server. You can for example pick one of the many styles served by cloudmade or make one of your own there.
Or use a tool like TileMill to create (and perhaps even host) them yourself.

google maps upload photos as markers

i am trying to make a custom page that would look like this
if i have a page where you can upload an image and enter description which feeds into a sql dB using PHP, how could one create a map of image thumbnails instead of markers? this photo was taken from: http://www.blocsoft.com/bmap/ but after browsing thru their site i didnt see anything about image thumbnails as markers
An alternative, but less flexible, approach would be to store the photographs in Panoramio and enable the maps Panoramio layer http://code.google.com/apis/maps/documentation/javascript/layers.html#PanoramioLibrary
You're going to want to do this via Javascript.
See http://code.google.com/apis/maps/documentation/javascript/overlays.html#SimpleIcons
Example # http://code.google.com/apis/maps/documentation/javascript/examples/icon-simple.html
Basically, you can use PHP to populate the markers within the javascript markup, then let JS init it.