Questions tagged [custom-overlay]

20 questions
8
votes
1 answer

Custom html made marker for google maps

Is there a way to create a simple marker or layer from html. I think about a circle that will be animated with css3. The circle itself is just a div with rounded corners.
Andreas Köberle
  • 106,652
  • 57
  • 273
  • 297
8
votes
1 answer

iOS - Some tiles not rendered in a custom MKTileOverlay

I have a custom MKTileOverlay in my iOS project using MapKit, it works fine most of the time. However, after zooming in/out a few times and panning the map some of the tiles are not being drawn. At first I thought it was a simple case of tiles not…
pppd
  • 89
  • 5
4
votes
1 answer

How do I create a custom overlay container for angular material

I've tried to follow this guide. I have a OverlayContainer subclass import { OverlayContainer } from '@angular/cdk/overlay'; export class CdkOverlayContainer extends OverlayContainer { /** * Set the container element from the outside, e.g. from…
gyozo kudor
  • 6,284
  • 10
  • 53
  • 80
4
votes
1 answer

How to add Custom Html dom element in layers of Openlayer 3

I have used Google api Overlayviews. I was able to add custom overlays with html div element at a latlng position using the pixel values. USGSOverlay.prototype.draw = function() { var overlayProjection = this.getProjection(); var sw =…
Kiran k g
  • 946
  • 11
  • 19
2
votes
2 answers

How can I locate a custom overlays inside streetview?

Hi I have searched for all the web and stackoverflow. Anyone knows how to locate a custom overlay in a specific position inside Google maps street view ? Here are an example : Night Walk In this tour you can see that there are some icons and…
2
votes
2 answers

How to remove or hide background in MKMapView when using custom tiles

Having tried many methods I still haven't found a good and full-proof way of preventing the usual "maps" from being shown behind custom map tiles that I am using. Ultimately I want my app to have a map page consisting only of a custom map. I am…
skeg0
  • 187
  • 1
  • 1
  • 10
2
votes
1 answer

Mouseover on custom overlay in Google Maps

Is it possible to listen for a mouseover event on a custom overlay in Google Maps (API v3)? A quick example: function HWPMarker(map, coords, text) { […] } HWPMarker.prototype = new google.maps.OverlayView(); HWPMarker.prototype.draw = function() {…
Lukas
  • 9,752
  • 15
  • 76
  • 120
2
votes
1 answer

Dragging google maps 3 with custom overlays causes VERY HUGE LAG

I started using version 3, but there is a BIG problem. When I create more than 20-30 custom overlays on the map AND try to drag the map with the mouse there is VERY HUGE lag. When I use the build in control to pan the map there is NO lag. Any idea…
Joro Seksa
  • 1,525
  • 3
  • 18
  • 44
1
vote
1 answer

Google map is not loading in android samsung ace mobile

i am displaying some locations using Google map in my application, and displaying all locations with custom pins. Every thing is working fine in emulator but when i tested in Samsung galaxy s and s plus working fine, But in Samsung ace the map is…
Vamshi
  • 1,495
  • 1
  • 15
  • 31
1
vote
0 answers

Google Maps draggable overlay on touch screen

I have added a custom draggable overlay onto a google map, which works well using a mouse, but doesn't work on touch screens. The code I am using is from this question : Can we make custom overlays draggable on google maps V3 The code is from…
StripyTiger
  • 877
  • 1
  • 14
  • 31
1
vote
1 answer

Google maps custom overlay with wrong width

I'm trying to make my custom overlay for google maps. I use this this example. And I have problem with overlay width definition. var sw = overlayProjection.fromLatLngToDivPixel(this.bounds_.getSouthWest()); var ne =…
user3390963
  • 2,313
  • 1
  • 13
  • 12
0
votes
1 answer

Google Maps Api V3 - Hide overlapping custom overlays

I have placed many custom overlays for different cities on a map and am trying to the hide/collapse the overlapping ones. Wherever there is space, I would like to show/expand the ones with the highest population. I would like to achieve the exact…
kingofbbq
  • 196
  • 1
  • 13
0
votes
1 answer

Google Map Custom Overlay with INPUT text not working on IE Edge

When using Google Map Custom Overlay to add pop over with input text boxes as seen below, when I try to click on the input box on IE Edge 15 (Haven't tested on other IE versions) I can't click on it and start typing as if it won't set focus on the…
0
votes
1 answer

Custom Overlays in OpenLayers 3

Currently I am working on Openlayers 3. I used custom overlays in Google maps Javascript api v3 to add customized markers as html div on the map. And these markers are grouped and plotted in different custom overlays. Now I am trying to implement…
SHK
  • 135
  • 3
  • 13
0
votes
1 answer

Hide everything except Custom Overlay in Android Google Maps Activity

I currently have an overlay set up in my app for google maps on a google maps activity. The image lines up perfectly, but when you leave the area of the overlay you see the normal google maps view. I want to hide everything except Custom Overlay,…
obizues
  • 1,473
  • 5
  • 16
  • 30
1
2