Getting the pixel co-ordinates of a Google map marker
Is it possible to determine the pixel co-ordinates of a given marker, taking into account current zoom level and visible area of the map? ...
Is it possible to determine the pixel co-ordinates of a given marker, taking into account current zoom level and visible area of the map? ...
Hi, Anyone know how I can add a marker to an image (not a map) in Javascript? Ideally I'd like a handler that behaves much like adding a marker to a map - i.e. onclick causes a marker to be displayed at the point that was clicked, and returns the x/y pixel coordinates of the point that was clicked. Is this possible? Cheers Richard ...
I am plotting Cumulative Distribution Functions, with a large number of data points. I am plotting a few lines on the same plot, which are identified with markers as it will be printed in black and white. What I would like are markers evenly spaced in the x-dimension. What I am getting is one marker per data point (and given the number o...
I'm trying to add a marker like the cell ID localization marker (blue dot with a round area) in the pre-installed Google Map application on Android phone. I want it be transparent and scalable when I zoom the map so that the marker can indicate a certain geographical area. Anyone can help me on this? Thanks! ...
I have one dataset and create from this set an area chart. In this case no problem. But now I have the requirement to add dynamic markers to the chart. So, this is the example: Data Set: date | workload | type The report renders a chart, which displays the date on the x-Axis and the workload on the y-Axis. The Type shows the different...
i think it has two ways : 1.right click and select the 'delete me' 2.has any other way ??? so how does enable the right-click on google-maps,and then delete the marker. thanks GEvent.addListener(marker, 'mousedown', function(e) { alert(e) if (e.button == 2){ alert('sss') map.removeOverlay(marker); } and whe...
Say I have this piece of code: var marker = new google.maps.Marker({ position: location, title: 'Búfals', map: map }); This creates a marker as expected but if I hover the mouse over it I don’t see 'Búfals' as I would expect (instead I see the html code). This doesn't make any difference: var marker = new google.m...
With the Google Maps Flash API, I want to add an event listener which fires when the Marker is added to the Map using map.addOverlay(); Event.ADDED_TO_STAGE is not fired, though it seems logical. What are the alternatives? ...
Hi im trying to detect a marker in a webcam video feed and overlay it with a 3d object - pretty much exactly like this: http://www.morethantechnical.com/2009/06/28/augmented-reality-with-nyartoolkit-opencv-opengl/ i know artoolkit is the best module for this, but i was hoping to just use opencv in python since i dont know nearly enough...
hi everyone, i now implement a google map in master page. every things go fine. the map can show. but the problem is the marker. i have add marker in the map, but the places should have marker replaced by a white box, not the normal marker icon. anyone know what happen? i tried in normal aspx page, it can show the marker. this is ...
Hi, i want to add many different markers on an android map. My code works good so far with the same overlay over and over again: mapOverlays = mapView.getOverlays(); drawable = this.getResources().getDrawable(R.drawable.marker); itemizedOverlay = new MyItemizedOverlay(drawable); OverlayItem overlayItem = new OverlayItem(geoPoint, "foo"...
in my flex chart I changed the fill of the PieSeries to use custom colors (set colors that I was prepared to be used according to values in the data provider of the Pie Chart)... The problem that the legend that is linked to my PieChart still shows the flex default colors and not the new colors from the PieChart series! Any idea how can...
Hi there, I'm building a google map application that marks several points on the map. I'm currently trying to get the dialog box to appear when the marker is clicked. Right now, the markers appear at the right places but when i click them, the entire application stops unexpectedly/forced to close. Does anyone have any suggestions on wha...
I have a simple Map and geocoding sample in Flash using CS4 The problem is simple - I can retrieve a short list from the google search api, but when I try to generate the icons on the map using a loop, only the last icon is displayed. (ignore the house icon, it is generated earlier) I feel I am missing something or made a stupid AS3 mi...
I want to fire dragend event of a marker in another event say click event on the map. how can I do that? google.maps.event.addListener(map,'click',function(pt){ posSelectMarker.setPosition(pt.latLng); //Here I want to fire dragend event. }); ...
I have the following sample text and I want to replace '[core].' with something else but I only want to replace it when it is not between text markers ' (SQL): PRINT 'The result of [core].[dbo].[FunctionX]' + [core].[dbo].[FunctionX] + '.' EXECUTE [core].[dbo].[FunctionX] The Result shoud be: PRINT 'The result of [core].[d...
I want to get a new map not using refush the webpage. thanks and has easy way to get all Overlays on the map? ...
Hi, Is it possible to create a marker in SVG using Javascript and then apply it to a newly created line? If so, please can you tell me what is wrong with the code below. I would expect the red and green lines to both have an arrow head but in both Chrome and Firefox 3.6 only the green line does. <?php header('Content-type: application...
Hi, I am adding different markers to my map... Drawable drawable = app1.getResources().getDrawable(R.drawable.test); drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight()); OverlayItem overlayitem2 = new OverlayItem(mark, "Test", "t"); overlayitem2.setMarker(drawable); app1.mapOverlay.addOverlay(overlayit...
Hello, I have read a lot of stuff about launching Google Maps in Android. That's pretty easy: Uri uri = Uri.parse("geo:38.899533,-77.036476"); Intent it = new Intent(Intent.ACTION_VIEW, uri); startActivity(it); The problem is that the map is shown at a high zoom level and there is no marker on the map. So, if the user move a little ...