[Google Maps API v3] Re: rightclick event inside a circle

2012-01-20 Thread Eduardo
no, you misunderstood. this is the only thing that is working. but with 
that i can't get the mouse position, but with the rightclick event on the 
map this property is already defined in the mouse event
*
**event.pixel.x* and *event.pixel.y*

these properties could be defined in all the click events

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/zztywa1AIFsJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: rightclick event inside a circle

2012-01-19 Thread Eduardo
Martin: it doesn't work
Rossko: it doesn't work too

I tried the mousemove event, but it did not get the position of the 
movements within the circle, it always shows the menu in the last position 
of the mouse over the map (ie, at the edge of the circle)

the same thing to rightclick events: the map does not receive the events 
that were triggered by a click or rightclick inside the circle.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/MCCI6ygDQxsJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] rightclick event inside a circle

2012-01-18 Thread Eduardo
hello,

i am working in a system and I need to create a custom context menu when 
the user right click *inside* a circle. i have noticed that a right click 
on the map triggers an event with the XY position defined, and then I can 
create a menu for the map. But when the rightclick is inside a circle, the 
event doesn't have the XY position, and I can't show the menu at the right 
position!!

anyone knows how to get the screen XY position when the click event is 
triggered?!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/gZ439uuALxMJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: how to start the map with origin and destination instead of longitude and latitude

2012-01-02 Thread Carlos Eduardo de Figueiredo
Ok! but how could I enter the address directly in the initialize () for all
examples of the Internet is used center: new google.maps.LatLng but I want
to use the direct addressfor when you open the map as the address passed
directly upload is complete there














2012/1/2 geocode...@gmail.com 

> On Jan 2, 2:38 am, eduardo12fox  wrote:
> > guys I need to start the google maps with a edereço, but do not want
> > to use the longitude and latitude, I need to use the source address
> > and destination
> >
> > function initialize() {
> > var myOptions = {
> >   zoom: 13,
> >   center: new google.maps.LatLng(-33.879,151.235),
> >   mapTypeId: google.maps.MapTypeId.ROADMAP
> > }
>
> I don't know what a "edereço" is. But, if you want to show a route
> between an origin and a destination, the directions service works
> without using longitude and latitude coordinates, and can be used to
> initialize your map.
>
> If you have an address, the geocoder (which is part of the Google Maps
> JavaScript API v3) will take and address and return the coordinates
> you need.
>
>  -- Larry
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Draw regions from points at the map

2011-12-15 Thread Carlos Eduardo Rührwiem
Thanks for answearing @Marcelo.

I was trying to use the concept of a cluster but it isn't exacltly what I'm 
looking for because I need fixed clusters on the map (once they have been 
defined they can't change) and it should be able to fill the whole map of 
the country without overlaping each other. (So most of them won't be 
simples cells/rectangles)

It is not the objective to subdivide the country into existing political 
regions, I want to create my regions based on filters.

Any other ideas?

Regards,

Carlos

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/iKfyOHus6BIJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Draw regions from points at the map

2011-12-14 Thread Carlos Eduardo Rührwiem
Hello,

I'm working for a projet that needs to use about 300k points in the map. 
All of them have attributes that will be used with the input filters. I 
need to draw regions on the map that separates all of the points in regions 
that meet the specified filters. The country should have at least 400 
regions inside and this regions must cover all the country.

My team was able to group all the points using the filters and considering 
the distance between them. But I'm not sure of how can I create regions 
grouping all those points in the map leaving no space missing in the map.

Can anyone give me some suggestions?

Regards,
Carlos

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/Vhd88JnYN3sJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Different response geocoding in PHP than directly in URL navigation bar in Google maps api v3 json

2011-12-13 Thread Eduardo de la Torre
i put this URL:
http://maps.googleapis.com/maps/api/geocode/json?address=la%20coru%C3%B1a,%20la%20coru%C3%B1a,%20espa%C3%B1a&sensor=false®ion=es

y get:

{   "results" : [
  {
 "address_components" : [
{
   "long_name" : "A Coruña",
   "short_name" : "A Coruña",
   "types" : [ "locality", "political" ]
}, etc...

But if i try it with PHP:

http://maps.googleapis.com/maps/api/
geocode/json?address='.$address.'&sensor=false®ion=es');
echo "";
print_r($geocode);
echo "";
?>

The response it's not equal.

You can see that it's not equal: Corunna != Coruña ¿Any solution?
i'have been dealing with UTF-8 but i don't get a solution.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



Re: [Google Maps API v3] Re: Update Lat/Long Input Box + Geocoding

2011-09-13 Thread Eduardo Luis
Ok, I'll try that...
I'm not a pro on javascript...let's see...

Thanks,

Eduardo Luís

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Update Lat/Long Input Box + Geocoding

2011-09-13 Thread Eduardo Luis
Hi,

I have this example:
http://eduardoluis.com/maps2.html

I want to drag the marker and the latitude / longitude being updated.
But I want to start with the help of Geocoding first...

So, when search a city, the default values lat/long will appear on the input 
box... When we fine tune the marker, they will be updated too on the same 
inputbox.

Any help,
Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/XBJeEtJZn0UJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: Latitude longitude Input Box values

2011-09-13 Thread Eduardo Luis
Problem solved...

You can follow the solution on the same link...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/ygEZHOMnBn8J.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Latitude longitude Input Box values

2011-09-13 Thread Eduardo Luis
Hi,

I have the simplest map here: 
http://eduardoluis.com/maps.html

What code is missing so when I drag the marker, the latitude and longitude 
values will be updated on the input text boxes?

I'm a newbie on maps yet.
Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/0U__e1V7CxgJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Encoding polyline

2011-07-23 Thread Eduardo Díaz Estrada
How can you create a polyline encoded? The link (
http://code.google.com/intl/es/apis/maps/documentation/javascript/v2/polylinealgorithm.html
) explaining the encryption algorithm it does not work. Thanks!!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Mapmaker style polygon drawing.

2011-04-05 Thread Eduardo Vaugier
Hello everyone!
I was looking for a way of drawing a polygon the way that the google 
mapmaker does it. That is, when you draw a polygon, in the middle of every 
line of the polygon just drawn appears a handle that can be dragged and 
become a new vertex. Also, all the vertices can be dragged and relocated. Is 
there a library or something to do that? Or will I have to steal the code or 
write it myself?
Thanks in advance.


An example.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.